slackbuilds_ponce/misc/grc
Edinaldo P. Silva c5b5f708c8 misc/grc: Added (generic colouriser).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-11-28 07:25:59 +07:00
..
grc.bashrc-expanded misc/grc: Added (generic colouriser). 2015-11-28 07:25:59 +07:00
grc.info misc/grc: Added (generic colouriser). 2015-11-28 07:25:59 +07:00
grc.SlackBuild misc/grc: Added (generic colouriser). 2015-11-28 07:25:59 +07:00
grc.zsh misc/grc: Added (generic colouriser). 2015-11-28 07:25:59 +07:00
README misc/grc: Added (generic colouriser). 2015-11-28 07:25:59 +07:00
slack-desc misc/grc: Added (generic colouriser). 2015-11-28 07:25:59 +07:00

grc (generic colouriser)

grc provides two programs: grc and grcat.  The main is grcat, which
acts as a filter, i.e. taking standard input, colourising it and 
writing to standard output. grcat takes as a parameter the name of
configuration file.

To use, add following lines into your ~/.bashrc or ~/.zshrc:

 [[ -s "/etc/grc.bashrc" ]] && source /etc/grc.bashrc
 [[ -s "/etc/grc.zsh" ]] && source /etc/grc.zsh
 
Or put the entire content of /usr/doc/grc-1.9/grc.bashrc-expanded 
example into these files.