mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
Merge pull request #2287 from rumpelsepp/master
Added/modified some useful aliases.
This commit is contained in:
commit
9bd9278b80
1 changed files with 8 additions and 3 deletions
|
@ -6,6 +6,11 @@ alias po='popd'
|
|||
alias ...='cd ../..'
|
||||
alias -- -='cd -'
|
||||
|
||||
# Prevent headaches
|
||||
alias cp='cp -v'
|
||||
alias rm='rm -v'
|
||||
alias mv='mv -v'
|
||||
|
||||
# Super user
|
||||
alias _='sudo'
|
||||
alias please='sudo'
|
||||
|
@ -27,9 +32,9 @@ else
|
|||
fi
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
alias ll='ls -l'
|
||||
alias la='ls -lA'
|
||||
alias l='ls -lah'
|
||||
alias ll='ls -lh'
|
||||
alias la='ls -lAh'
|
||||
alias sl=ls # often screw this up
|
||||
|
||||
alias afind='ack-grep -il'
|
||||
|
|
Loading…
Reference in a new issue