]> git.rmz.io Git - dotfiles.git/blob - zsh/functions/zsh_stats
nvim: set autoformat false
[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 }