Archived
1
0
Fork 0

Change aliases

This commit is contained in:
J. Elfring (i) 2022-12-15 11:28:03 +01:00
parent 49142ce858
commit dc625d9b45

View file

@ -9,7 +9,6 @@ alias ..="cd .."
alias ...="cd ../.." alias ...="cd ../.."
alias ....="cd ../../.." alias ....="cd ../../.."
alias .....="cd ../../../.." alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -" alias -- -="cd -"
# Shortcuts # Shortcuts
@ -32,10 +31,14 @@ alias ls="ls --color --group-directories-first"
alias l="ls -l" alias l="ls -l"
alias ll="ls -l" alias ll="ls -l"
alias la="ls -la" alias la="ls -la"
alias ltr="ls -ltr"
# Always enable colored `grep` output # Always enable colored `grep` output
alias grep='grep --color=auto ' alias grep='grep --color=auto '
# Enable colors for less
alias less="less -R"
# Enable aliases to be sudoed # Enable aliases to be sudoed
alias sudo='sudo ' alias sudo='sudo '