#history #zsh #stats

app histat

Zsh history stats

3 stable releases

1.1.0 Nov 15, 2024
1.0.1 Nov 9, 2024

#82 in Machine learning

Download history 266/week @ 2024-11-09 74/week @ 2024-11-16

340 downloads per month

Zlib license

6KB
94 lines

Histat

The history sumarizer for zsh

$ histat
579 ls
447 cd
426 git
319 sudo
295 ninja

Usage

$ histat --help
Zsh history stats

Usage: histat [OPTIONS]

Options:
  -f, --file <FILE>    [default: ~/.zsh_history]
  -l, --lines <LINES>  [default: 5]
  -h, --help           Print help
  -V, --version        Print version

NOTE: The history file defaults to ~/.zsh_history because there is no way to access the $HISTFILE shell variable

Dependencies

~1–12MB
~77K SLoC