function zsh_stats() { 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 }