I created a very simple script that shows the history usage of your shell. Should work with bash and fish shells.
This basically goes through the history and counts the command names. So all of git push
, git pull
, etc will count as just git
.
Example output:
847 pacman
296 cd
206 git
203 time
180 vim
172 awk
166 aur
142 strace
141 cat
125 ls
Total commands: 7008
Unique commands: 753