]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/lib/directories.zsh
Squashed commit of the following + cleanup afterwards:
[dotfiles.git] / zsh / lib / directories.zsh
index 4d24fafedea240dbc16051773ca2827c9896d3e9..6c743e40ec943bbe3f188e187752e584c3bfa2db 100644 (file)
@@ -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