bashrc more compatible with other shells

This commit is contained in:
Radovan Garabík 2017-02-10 10:02:15 +01:00
parent 6b326ef6ec
commit 18c9683708
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
GRC="$(type -p grc)"
GRC="$(which grc)"
if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
alias colourify="$GRC -es --colour=auto"
alias blkid='colourify blkid'
@ -35,3 +35,4 @@ if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
alias getsebool='colourify setsebool'
alias ifconfig='colourify ifconfig'
fi