slackbuilds_ponce/misc/grc
2016-11-14 16:47:23 +07:00
..
grc.bashrc-expanded
grc.info
grc.SlackBuild
grc.zsh
README
slack-desc misc/grc: Fix slack-desc. 2016-11-14 16:47:23 +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.