mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Update lib/aliases.zsh
Added new custom aliases
This commit is contained in:
parent
48f8358a9b
commit
90b22743e3
1 changed files with 8 additions and 0 deletions
|
|
@ -3,10 +3,18 @@ alias pu='pushd'
|
||||||
alias po='popd'
|
alias po='popd'
|
||||||
|
|
||||||
# Basic directory operations
|
# Basic directory operations
|
||||||
|
alias ..='cd ..'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
|
alias ....='cd ../../..'
|
||||||
alias -- -='cd -'
|
alias -- -='cd -'
|
||||||
|
|
||||||
|
alias cd..='cd ..'
|
||||||
|
alias cd...='cd ../..'
|
||||||
|
alias cd....='cd ../../..'
|
||||||
|
alias cd.....='cd ../../../..'
|
||||||
|
|
||||||
# Super user
|
# Super user
|
||||||
|
alias sudo='sudo ' # This allow 'sudo ll'. See http://www.shellperson.net/using-sudo-with-an-alias/
|
||||||
alias _='sudo'
|
alias _='sudo'
|
||||||
alias please='sudo'
|
alias please='sudo'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue