Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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