Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add info about adding grc support for selected commands to .bash_prof…
…ile for bash users.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
GRC=`which 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 |