]> git.rmz.io Git - dotfiles.git/blob - zsh/functions/zsh_stats
bugwarrior: split up mrs/issues/todos into 3 separate targets
[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 }