summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2024-05-04 22:06:30 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2024-05-04 22:06:30 +0200
commit20f2151b080ecfb381c1c8b9e047e24cba1cac63 (patch)
tree9966b1489100ea1750f0d9ee91fa71b86eae0df4 /.zshrc
parentf6843c1ae4f1d16cf2e68a318f82f2be3b32aff0 (diff)
set options to start using dirstack
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 6c84081..4e9b599 100644
--- 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