Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesmunns/shell-hist
Inspect your shell history
https://github.com/jamesmunns/shell-hist
Last synced: 11 days ago
JSON representation
Inspect your shell history
- Host: GitHub
- URL: https://github.com/jamesmunns/shell-hist
- Owner: jamesmunns
- License: apache-2.0
- Created: 2019-05-12T10:52:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T09:44:51.000Z (over 5 years ago)
- Last Synced: 2024-10-09T07:10:12.877Z (30 days ago)
- Language: Rust
- Size: 145 KB
- Stars: 91
- Watchers: 2
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `shell-hist`
Take a look at your most common shell commands, based on your history file
![shell-hist Screenshot](./assets/screenshot.png)
```text
james@laptop ➜ ~ shell-hist --helpshell-hist 0.2.0
James Munns
A CLI tool for inspecting shell historyUSAGE:
shell-hist [FLAGS] [OPTIONS]FLAGS:
--flavor-bash Manually select Bash history, overriding auto-detect
-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 Manually select ZSH history, overriding auto-detectOPTIONS:
-n How many items to show [default: 10]
-f File to parse. Defaults to history file of selected or detected shell flavor
```## Installation
```
cargo install shell-hist
```## Upgrade
```
cargo install -f 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:
* [MIT License Hosted]
* [Apache License v2.0 Hosted][MIT License]: ./LICENSE-MIT
[Apache License v2.0]: ./LICENSE-APACHE
[MIT License Hosted]: https://opensource.org/licenses/MIT
[Apache License v2.0 Hosted]: http://www.apache.org/licenses/LICENSE-2.0### 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.