Merge pull request #2287 from rumpelsepp/master
Added/modified some useful aliases.
This commit is contained in:
commit
9bd9278b80
|
@ -6,6 +6,11 @@ alias po='popd'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
alias -- -='cd -'
|
alias -- -='cd -'
|
||||||
|
|
||||||
|
# Prevent headaches
|
||||||
|
alias cp='cp -v'
|
||||||
|
alias rm='rm -v'
|
||||||
|
alias mv='mv -v'
|
||||||
|
|
||||||
# Super user
|
# Super user
|
||||||
alias _='sudo'
|
alias _='sudo'
|
||||||
alias please='sudo'
|
alias please='sudo'
|
||||||
|
@ -27,9 +32,9 @@ else
|
||||||
fi
|
fi
|
||||||
# List direcory contents
|
# List direcory contents
|
||||||
alias lsa='ls -lah'
|
alias lsa='ls -lah'
|
||||||
alias l='ls -la'
|
alias l='ls -lah'
|
||||||
alias ll='ls -l'
|
alias ll='ls -lh'
|
||||||
alias la='ls -lA'
|
alias la='ls -lAh'
|
||||||
alias sl=ls # often screw this up
|
alias sl=ls # often screw this up
|
||||||
|
|
||||||
alias afind='ack-grep -il'
|
alias afind='ack-grep -il'
|
||||||
|
|
Loading…
Reference in a new issue