summaryrefslogtreecommitdiff
path: root/misc/grc/grc.bashrc-expanded
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-11-25 15:34:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-28 07:25:59 +0700
commitc5b5f708c88806b192814847333b4c53ca438a53 (patch)
tree028fcab90c6464112db4222b6c7322381bcff96d /misc/grc/grc.bashrc-expanded
parentcb1cd1612ee3e9f25edb3736e71a5f03782f506f (diff)
downloadslackbuilds-c5b5f708c88806b192814847333b4c53ca438a53.tar.gz
misc/grc: Added (generic colouriser).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/grc/grc.bashrc-expanded')
-rw-r--r--misc/grc/grc.bashrc-expanded35
1 files changed, 35 insertions, 0 deletions
diff --git a/misc/grc/grc.bashrc-expanded b/misc/grc/grc.bashrc-expanded
new file mode 100644
index 0000000000..e15fd64764
--- /dev/null
+++ b/misc/grc/grc.bashrc-expanded
@@ -0,0 +1,35 @@
+GRC=`which grc`
+if [ "$TERM" != dumb ] && [ -n "$GRC" ]
+then
+ alias colourify="$GRC -es --colour=auto"
+ alias cfg='colourify ./configure'
+ alias configure='colourify ./configure'
+ alias as='colourify as'
+ alias cvs='colourify cvs'
+ alias df='colourify df'
+ alias diff='colourify diff'
+ alias dig='colourify dig'
+ alias g++='colourify g++'
+ alias gas='colourify gas'
+ alias gcc='colourify gcc'
+ alias esperanto='colourify esperanto'
+ alias head='colourify head'
+ alias ifconfig='colourify ifconfig'
+ alias irclog='colourify irclog'
+ alias ld='colourify ld'
+ alias ldap='colourify ldap'
+ alias log='colourify log'
+ alias ls='colourify ls'
+ alias make='colourify make'
+ alias mount='colourify mount'
+ alias mount2='colourify mount2'
+ alias mtr='colourify mtr'
+ alias netstat='colourify netstat'
+ alias ping='colourify ping'
+ alias php='colourify php'
+ alias proftpd='colourify proftpd'
+ alias ps='colourify ps'
+ alias tail='colourify tail'
+ alias traceroute='colourify /usr/sbin/traceroute'
+ alias wdiff='colourify wdiff'
+fi