diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-11-25 15:30:05 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-11-25 15:30:05 +0100 |
commit | 13f1c294695486374eece10f63d796b11c4a029f (patch) | |
tree | fc7d84c9e80abd96b4513e50630892d3c48be394 /bash/bashrc | |
parent | 5288b90e1bbee5f83188419754a2f95973ae8640 (diff) |
bashrc: add more aliases
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc index 4cf0273..18364ac 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -17,12 +17,22 @@ HISTSIZE=65536 # activate lesspipe [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" +# TODO: split off aliases? # ls colors if [ -x /usr/bin/dircolors ]; then eval "`dircolors -b`" alias ls='ls --color=auto' fi +alias grep='grep --color=auto' +alias egrep='egrep --color=auto' +alias ll='ls -l' +alias la='ls -A' +alias lh='ls -lh' +alias lla='ls -lA' +alias llh='ls -lAh' +alias lt='ls -lt' + # disable flow control # XXX should this be here? stty -ixon |