mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Adding zsh_stats function to show you which commands you run the most.
This commit is contained in:
parent
71bc81b14a
commit
a4471665ba
@ -23,3 +23,7 @@ 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user