Browse files

moving cd aliases for directories library

  • Loading branch information...
1 parent 894de9e commit e0733bf783a1f2f51b14104d879cca0387f748c3 @tinogomes committed Oct 11, 2012
Showing with 9 additions and 9 deletions.
  1. +0 −4 lib/aliases.zsh
  2. +9 −5 lib/directories.zsh
View
4 lib/aliases.zsh
@@ -2,10 +2,6 @@
alias pu='pushd'
alias po='popd'
-# Basic directory operations
-alias ...='cd ../..'
-alias -- -='cd -'
-
# Super user
alias _='sudo'
alias please='sudo'
View
14 lib/directories.zsh
@@ -3,11 +3,15 @@ setopt auto_name_dirs
setopt auto_pushd
setopt pushd_ignore_dups
-alias ..='cd ..'
-alias cd..='cd ..'
-alias cd...='cd ../..'
-alias cd....='cd ../../..'
-alias cd.....='cd ../../../..'
+# Basic directory operations
+alias ..='cd ..; ls'
+alias ...='cd ../..; ls'
+alias -- -='cd -'
+
+alias cd..='cd ..; ls'
+alias cd...='cd ../..; ls'
+alias cd....='cd ../../..; ls'
+alias cd.....='cd ../../../..; ls'
alias cd/='cd /'
alias 1='cd -'

0 comments on commit e0733bf

Please sign in to comment.