Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save morygonzalez/935909 to your computer and use it in GitHub Desktop.
Save morygonzalez/935909 to your computer and use it in GitHub Desktop.
http://d.hatena.ne.jp/tokuhirom/20060924/1159057218 がうまく動かなかったのでちょっと改変
perl -pe 's/.+;//' ~/.zsh_history | awk 'BEGIN {FS="|"} {print $1}' | sort | uniq -c | sort -nr | head -10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment