Skip to content

Instantly share code, notes, and snippets.

@raimon49
Created Mar 1, 2012
Embed
What would you like to do?
zshの履歴から良く打ってる順にコマンド + サブコマンド( or オプション)を並べるワンライナー
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