Change aliases
This commit is contained in:
parent
49142ce858
commit
dc625d9b45
1 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,6 @@ alias ..="cd .."
|
|||
alias ...="cd ../.."
|
||||
alias ....="cd ../../.."
|
||||
alias .....="cd ../../../.."
|
||||
alias ~="cd ~" # `cd` is probably faster to type though
|
||||
alias -- -="cd -"
|
||||
|
||||
# Shortcuts
|
||||
|
@ -32,10 +31,14 @@ alias ls="ls --color --group-directories-first"
|
|||
alias l="ls -l"
|
||||
alias ll="ls -l"
|
||||
alias la="ls -la"
|
||||
alias ltr="ls -ltr"
|
||||
|
||||
# Always enable colored `grep` output
|
||||
alias grep='grep --color=auto '
|
||||
|
||||
# Enable colors for less
|
||||
alias less="less -R"
|
||||
|
||||
# Enable aliases to be sudo’ed
|
||||
alias sudo='sudo '
|
||||
|
||||
|
|
Reference in a new issue