summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 0e3d81c..829ffa2 100644
--- a/zshrc
+++ b/zshrc
@@ -86,6 +86,10 @@ bindkey -M viins "jj" vi-cmd-mode
DIRSTACKSIZE=8
setopt autopushd pushdminus pushdsilent pushdtohome
alias dh='dirs -v'
+alias d='_goDir'
+function _goDir() {
+ cd -$1
+}
# Prompt