Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juliencrn/term-history
CLI app that shows you which terminal programs you use most often.
https://github.com/juliencrn/term-history
clap cli history rust zsh
Last synced: about 12 hours ago
JSON representation
CLI app that shows you which terminal programs you use most often.
- Host: GitHub
- URL: https://github.com/juliencrn/term-history
- Owner: juliencrn
- Created: 2022-10-17T02:36:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T02:37:05.000Z (over 2 years ago)
- Last Synced: 2024-10-06T01:41:47.835Z (4 months ago)
- Topics: clap, cli, history, rust, zsh
- Language: Rust
- Homepage:
- Size: 455 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Screenshot](./Screenshot.png)
# term-history
Little CLI app that shows you which terminal programs you use most often.
It supports alias resolution for `zsh` shell.
## Usage
1. Get your history file path
```bash
echo $HISTFILE
```2. Call the program with that file path as argument
```bash
cargo run
```3. Options
```bash
# Enable colors
cargo run $HISTFILE --colors# Change head length (max visible lines)
cargo run $HISTFILE --head 10
```