Created
May 22, 2013 10:59
-
-
Save abhiomkar/5626767 to your computer and use it in GitHub Desktop.
Most used commands in ZSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Top 20 most used commands in your ZSH shell | |
cat ~/.zsh_history | cut -d ';' -f 2- | awk {'print $1'} | sort | uniq -c | sort -r | head -20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For it to work as a ZSH alias, the
$
sign will need to be escaped like below: