Add color support alias for ip and diff
This commit is contained in:
parent
b4863699eb
commit
66c30156eb
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue