diff options
author | johannst <stoelp@eit.uni-kl.de> | 2018-06-18 10:51:12 +0200 |
---|---|---|
committer | johannst <stoelp@eit.uni-kl.de> | 2018-06-18 10:51:12 +0200 |
commit | b9ecf2e4621186b7e1daca9176f51d979d0e2866 (patch) | |
tree | 0b0c5b57df91ac709af5a2396ed638b1a6c5620c | |
parent | 41190507f28ee71d8907a4f9a0fc9bdf56a85a7f (diff) | |
download | dotfiles-b9ecf2e4621186b7e1daca9176f51d979d0e2866.tar.gz dotfiles-b9ecf2e4621186b7e1daca9176f51d979d0e2866.zip |
added new alias to zsh for dir stack switching
-rw-r--r-- | zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |