Add color support alias for ip and diff

This commit is contained in:
flyingscorpio@arch-desktop 2021-01-16 22:53:13 +01:00
parent b4863699eb
commit 66c30156eb

View file

@ -12,7 +12,7 @@ export TALISMAN_HOME="$HOME/.talisman/bin"
alias talisman=$TALISMAN_HOME/talisman_linux_amd64
export TALISMAN_INTERACTIVE=true
# color support for ls and grep
# color support
if [ -x /usr/bin/dircolors ]; then
if [ -r ~/.dircolors ]; then
eval "$(dircolors -b ~/.dircolors)"
@ -23,6 +23,8 @@ if [ -x /usr/bin/dircolors ]; then
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias diff='diff --color=auto'
alias ip='ip --color=auto'
fi
alias rm='rm -I --preserve-root'