X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/698483f78280d2b5d5af36b1b82987d5b7b11f9e..d4b51f09d83f75a663c5711af77e0e6da40764a9:/zsh/lib/directories.zsh?ds=inline diff --git a/zsh/lib/directories.zsh b/zsh/lib/directories.zsh index e445eb8..96be37c 100644 --- a/zsh/lib/directories.zsh +++ b/zsh/lib/directories.zsh @@ -1,3 +1,6 @@ +setopt auto_cd +setopt cdablevars + # Changing/making/removing directory setopt auto_name_dirs setopt auto_pushd @@ -26,9 +29,9 @@ cd () { elif [[ "x$*" == "x...." ]]; then cd ../../.. elif [[ "x$*" == "x....." ]]; then - cd ../../.. - elif [[ "x$*" == "x......" ]]; then cd ../../../.. + elif [[ "x$*" == "x......" ]]; then + cd ../../../../.. else builtin cd "$@" fi