From 20f2151b080ecfb381c1c8b9e047e24cba1cac63 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Sat, 4 May 2024 22:06:30 +0200 Subject: set options to start using dirstack --- .zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.zshrc') 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 -- cgit v1.2.3