zsh: aliases.zsh: add global aliases for directory traversal
As of now you have to either use '...' or 'cd ../..' in order to move up two directories. In order to also use 'cd ...' global aliases are required which also allow expansion inside of commands.
This commit is contained in:
parent
6daf4fd4b2
commit
9b4dfb5106
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ alias ..='cd ..'
|
|||
alias ...='cd ../..'
|
||||
alias ....='cd ../../..'
|
||||
|
||||
alias -g ...='../..'
|
||||
alias -g ....='../../..'
|
||||
|
||||
# ===== directory information
|
||||
alias ll='ls -l'
|
||||
alias la='ls -la'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue