Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 --help

shell-hist 0.2.0
James Munns
A CLI tool for inspecting shell history

USAGE:
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-detect

OPTIONS:
-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.