mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Added/modified some useful aliases.
This commit is contained in:
parent
66a33b80c3
commit
c9f2c947e4
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'
|
||||
|
@ -17,9 +22,9 @@ alias history='fc -l 1'
|
|||
|
||||
# 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