diff --git a/functions.zsh b/functions.zsh index dcabed9..1f2a202 100644 --- a/functions.zsh +++ b/functions.zsh @@ -22,4 +22,8 @@ function preexec { function remote_console() { /usr/bin/env ssh $1 "( cd $2 && ruby script/console production )" +} + +function zsh_stats() { + history | awk '{print $2}' | sort | uniq -c | sort -rn | head } \ No newline at end of file