shell-hist

Take a look at your most common shell commands, based on your history file

```text james@laptop ➜ ~ shell-hist

Fuzzy Commands james@laptop ➜ ~ shell-hist | HEAT | COUNT | COMMAND | -------- | -------- | --------- | ████████ | 540 | cargo run | ██████ | 405 | git add -i | ██████ | 404 | ls | █████▋ | 377 | cargo build | █████▎ | 355 | git commit | ████▍ | 294 | cargo run --release | ██▉ | 191 | git diff | ██▌ | 170 | ssh remote | ██▎ | 148 | cd .. | ██▏ | 142 | stt

james@laptop ➜ ~ shell-hist --help

shell-hist 0.1.0 James Munns james.munns@ferrous-systems.com A CLI tool for inspecting shell history

USAGE: shell-hist [FLAGS] [OPTIONS]

FLAGS: --flavor-bash Parse Bash history -e, --display-exact Show the most common exact commands -z, --display-fuzzy Show fuzzy matched output. This is the default option. -h, --help Prints help information -t, --display-heat Show the most common command components -V, --version Prints version information --flavor-zsh Parse Zsh history. This is the default option.

OPTIONS: -n How many items to show [default: 10] -f File to parse. Defaults to history file of selected shell flavor ```

Installation

cargo install shell-hist

License

This project is licensed under the terms of both the [MIT License] and the [Apache License v2.0]

Copies of the licenses used by this project may also be found here:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.