X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/698483f78280d2b5d5af36b1b82987d5b7b11f9e..f5f39bf6d1b33a2ec77cd6f79c1d38ae116ff076:/zsh/lib/directories.zsh 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