47 ms·
1 2258 22.5823% git 2 594 5.94059% npm 3 539 5.39054% cd 4 366 3.66037% ls 5 360 3.60036% vim 6 344 3.44034% cat
by ponyous 9y ago
1 2258 22.5823% git
2 594 5.94059% npm
3 539 5.39054% cd
4 366 3.66037% ls
5 360 3.60036% vim
6 344 3.44034% cat
7 316 3.16032% rm
8 287 2.87029% mix
9 255 2.55026% nr
10 216 2.16022% X_IP=0.0.0.0*
11 213 2.13021% gst
* (Omitted) It's not a command but environment variable followed by a command. I could probably alias it, but it is pretty unique and so easy to find with ^R in zsh.
Edit:If anyone would like to have more granular view I wrote this oneliner sometime ago:
history | cut -c8- | cut -d' ' -f1-2 | sort | uniq -c | sort -n
It gives result like:
# ... All other entries from history
180 vim
207 npm install
212 gst
220 git pull
361 git commit
537 git checkout