summaryrefslogtreecommitdiff
path: root/functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'functions.zsh')
-rw-r--r--functions.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions.zsh b/functions.zsh
index 0dcfbd39a..d0c24e9e9 100644
--- a/functions.zsh
+++ b/functions.zsh
@@ -24,6 +24,14 @@ 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
+}
+
+function uninstall_oh_my_zsh() {
+ /bin/sh $ZSH/tools/uninstall.sh
+}
+
function tab() {
osascript 2>/dev/null <<EOF
tell application "System Events"