Skip to content

Instantly share code, notes, and snippets.

@rm--
Created October 7, 2015 22:06
Show Gist options
  • Save rm--/2a53e482ec21fb9c9864 to your computer and use it in GitHub Desktop.
Save rm--/2a53e482ec21fb9c9864 to your computer and use it in GitHub Desktop.
summarize most used zsh cmds to find out alias candidates

cat ~/.zsh_history | awk -F\; '{ print $2 }' | sort | uniq -c | sort -n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment