mirror of https://github.com/garabik/grc.git
alias only in terminal
This commit is contained in:
parent
9dd0d18f62
commit
64c1ba6a0d
2
grc.sh
2
grc.sh
|
@ -1,5 +1,5 @@
|
|||
GRC="$(which grc)"
|
||||
if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
|
||||
if tty -s && [ -n "$TERM" ] && [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
|
||||
alias colourify="$GRC -es"
|
||||
alias blkid='colourify blkid'
|
||||
alias configure='colourify ./configure'
|
||||
|
|
Loading…
Reference in New Issue