]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/commitdiff
set options to start using dirstack
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Sat, 4 May 2024 20:06:30 +0000 (22:06 +0200)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Sat, 4 May 2024 20:06:30 +0000 (22:06 +0200)
.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