Add gpgwkd function for gpg key fetches
[zsh.git] / .zsh / functions / zsh_stats
1 # -*- mode:sh -*-
2
3 fc -l -1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20