diff options
author | Hauke Stange <hauke@jimdo.com> | 2012-11-28 10:40:09 +0100 |
---|---|---|
committer | Hauke Stange <hauke@jimdo.com> | 2012-11-28 10:40:09 +0100 |
commit | 12f416b125501e9faaae061bc55b833158348156 (patch) | |
tree | 623ca0c73f0dd6a42785e8b1e0cceede4f9b4494 /lib/functions.zsh | |
parent | 5d6252c6d0e3598f2e19b9a02f7eb8a49317b1f1 (diff) | |
parent | 3d7622831fd86a3eaf4bbe3a11102929716d3781 (diff) | |
download | zsh-12f416b125501e9faaae061bc55b833158348156.tar.gz zsh-12f416b125501e9faaae061bc55b833158348156.tar.bz2 zsh-12f416b125501e9faaae061bc55b833158348156.zip |
Merge branch 'master' of github.com:Partyschaum/oh-my-zsh
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r-- | lib/functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh index d2dcadd0c..63ab755cf 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -1,5 +1,5 @@ function zsh_stats() { - history | awk '{print $2}' | sort | uniq -c | sort -rn | head + history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20 } function uninstall_oh_my_zsh() { |