mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
c5b5f708c8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
14 lines
507 B
Text
14 lines
507 B
Text
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.
|