From: Hendrik Jäger Date: Sat, 4 May 2024 20:06:30 +0000 (+0200) Subject: set options to start using dirstack X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=20f2151b080ecfb381c1c8b9e047e24cba1cac63;p=user%2Fhenk%2Fvcsh%2Fzsh.git set options to start using dirstack --- 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