X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d6a0fb3ae5ee7ec1719fab4800c28d463d746b0f..10cf60790cf2430aba9f7e7120ccd414959e4f81:/zsh/lib/directories.zsh?ds=sidebyside diff --git a/zsh/lib/directories.zsh b/zsh/lib/directories.zsh index 4d24faf..6c743e4 100644 --- a/zsh/lib/directories.zsh +++ b/zsh/lib/directories.zsh @@ -10,7 +10,6 @@ alias cd....='cd ../../..' alias cd.....='cd ../../../..' alias cd/='cd /' -alias -- -='cd -' alias 1='cd -' alias 2='cd +2' alias 3='cd +3' @@ -27,9 +26,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