mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
missing aliases
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
fdbecb80e3
commit
4a576f9189
1 changed files with 16 additions and 2 deletions
|
|
@ -1,6 +1,19 @@
|
||||||
# Advanced Aliases.
|
# Advanced Aliases.
|
||||||
# Use with caution
|
# Use with caution
|
||||||
#
|
|
||||||
|
|
||||||
|
# Basic directory operations
|
||||||
|
#alias ..='cd ..'
|
||||||
|
#alias ...='cd ../..'
|
||||||
|
#alias ....='cd ../../..'
|
||||||
|
#alias .....='cd ../../../..'
|
||||||
|
alias -- -='cd -'
|
||||||
|
alias cd/='cd /'
|
||||||
|
|
||||||
|
alias cd..='cd ..'
|
||||||
|
alias cd...='cd ../..'
|
||||||
|
alias cd....='cd ../../..'
|
||||||
|
alias cd.....='cd ../../../..'
|
||||||
|
|
||||||
# ls, the common ones I use a lot shortened for rapid fire usage
|
# ls, the common ones I use a lot shortened for rapid fire usage
|
||||||
# alias ls='ls --color' # I like color
|
# alias ls='ls --color' # I like color
|
||||||
|
|
@ -10,11 +23,12 @@ alias lr='ls -tRFh' # sorted by date,recursive,show type,human readable
|
||||||
alias lt='ls -ltFh' # long list,sorted by date,show type,human readable
|
alias lt='ls -ltFh' # long list,sorted by date,show type,human readable
|
||||||
alias ll='ls -l' # long list
|
alias ll='ls -l' # long list
|
||||||
alias lla='la' # long list
|
alias lla='la' # long list
|
||||||
|
alias llR='ls -lhR'
|
||||||
alias l='la' # long list
|
alias l='la' # long list
|
||||||
alias lsa='ls -lah'
|
alias lsa='ls -lah'
|
||||||
alias sl=ls # often screw this up
|
alias sl=ls # often screw this up
|
||||||
|
|
||||||
|
alias sudo='sudo ' # This allow 'sudo ll'. See http://www.shellperson.net/using-sudo-with-an-alias/
|
||||||
|
|
||||||
alias ldot='ls -ld .*'
|
alias ldot='ls -ld .*'
|
||||||
alias lS='ls -1FSsh'
|
alias lS='ls -1FSsh'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue