X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.zshrc;h=4e9b59964912258b7480af3d4b05055ee8c74481;hb=20f2151b080ecfb381c1c8b9e047e24cba1cac63;hp=6c840816fdf5670be62cc9446f2fbea2ce80af79;hpb=f6843c1ae4f1d16cf2e68a318f82f2be3b32aff0;p=user%2Fhenk%2Fvcsh%2Fzsh.git 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