Created
March 1, 2012 13:35
-
-
Save raimon49/1949853 to your computer and use it in GitHub Desktop.
zshの履歴から良く打ってる順にコマンド + サブコマンド( or オプション)を並べるワンライナー
This file contains hidden or 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
cat ~/.zsh_history | awk '{print $1" "$2}' | sort | uniq -c | sort -nr | head -20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment