summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.zsh b/functions.zsh
index dcabed957..1f2a2023c 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