mirror of
https://github.com/garabik/grc.git
synced 2024-11-10 21:26:52 +01:00
1d4f9e1ca5
which is an external tool, where as type is a bash internal funciton and always available Signed-off-by: Justin Lecher <jlec@gentoo.org>
23 lines
707 B
Plaintext
23 lines
707 B
Plaintext
GRC="$(type -p grc)"
|
|
if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
|
|
alias colourify="$GRC -es --colour=auto"
|
|
alias configure='colourify ./configure'
|
|
alias diff='colourify diff'
|
|
alias make='colourify make'
|
|
alias gcc='colourify gcc'
|
|
alias g++='colourify g++'
|
|
alias as='colourify as'
|
|
alias gas='colourify gas'
|
|
alias ld='colourify ld'
|
|
alias netstat='colourify netstat'
|
|
alias ping='colourify ping'
|
|
alias traceroute='colourify /usr/sbin/traceroute'
|
|
alias head='colourify head'
|
|
alias tail='colourify tail'
|
|
alias dig='colourify dig'
|
|
alias mount='colourify mount'
|
|
alias ps='colourify ps'
|
|
alias mtr='colourify mtr'
|
|
alias df='colourify df'
|
|
fi
|