Skip to content

Commit

Permalink
moving cd aliases for directories library
Browse files Browse the repository at this point in the history
  • Loading branch information
tinogomes committed Jun 2, 2013
1 parent 87b1c9e commit ed14a67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 0 additions & 4 deletions lib/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
alias pu='pushd'
alias po='popd'

# Basic directory operations
alias ...='cd ../..'
alias -- -='cd -'

# Super user
alias _='sudo'
alias please='sudo'
Expand Down
14 changes: 9 additions & 5 deletions lib/directories.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ setopt auto_pushd
setopt pushd_ignore_dups
setopt pushdminus

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 -'
Expand Down

0 comments on commit ed14a67

Please sign in to comment.