1
0
Fork 0

Adding zsh_stats function to show you which commands you run the most.

pull/4/head
Robby Russell 15 years ago
parent 71bc81b14a
commit a4471665ba

@ -22,4 +22,8 @@ function preexec {
function remote_console() { function remote_console() {
/usr/bin/env ssh $1 "( cd $2 && ruby script/console production )" /usr/bin/env ssh $1 "( cd $2 && ruby script/console production )"
}
function zsh_stats() {
history | awk '{print $2}' | sort | uniq -c | sort -rn | head
} }
Loading…
Cancel
Save