summaryrefslogtreecommitdiff
path: root/misc/grc/README
blob: 4a0ed4ba0e40578b70c0be53c54f58d042f86b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.