]> git.rmz.io Git - dotfiles.git/blob - zsh/functions/zsh_stats
vim: remove vimwiki, mainly just using vim-orgmode now
[dotfiles.git] / zsh / functions / zsh_stats
1 function zsh_stats() {
2 fc -l 1 | awk '{a[$2]++; count++}END{for(i in a)printf "%3d %.2f%% %s\n", a[i], a[i]/count*100, i}' | sort -rn | head -20
3 }