]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blobdiff - .zshrc
set options to start using dirstack
[user/henk/vcsh/zsh.git] / .zshrc
diff --git a/.zshrc b/.zshrc
index 6c840816fdf5670be62cc9446f2fbea2ce80af79..4e9b59964912258b7480af3d4b05055ee8c74481 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -60,6 +60,12 @@ zgenom load "https://github.com/greymd/tmux-xpanes"
 setopt AUTO_CD
 setopt CHASE_LINKS
 
+# switch +/- when referring to the dirstack
+setopt PUSHD_MINUS
+
+# Make cd push the old directory onto the directory stack
+setopt AUTO_PUSHD
+
 setopt AUTO_NAME_DIRS
 
 # this should not be needed ever