15 lines
507 B
Plaintext
15 lines
507 B
Plaintext
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.
|