slackbuilds/misc/grc
B. Watson 24efacfbe5
misc/grc: Minor bugfix from Debian.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2024-02-10 16:17:26 +07:00
..
README misc/grc: Updated for version 1.13, new maintainer, support csh. 2023-08-12 08:29:52 +07:00
doinst.sh misc/grc: Updated for version 1.13, new maintainer, support csh. 2023-08-12 08:29:52 +07:00
grc.SlackBuild misc/grc: Minor bugfix from Debian. 2024-02-10 16:17:26 +07:00
grc.csh misc/grc: Updated for version 1.13, new maintainer, support csh. 2023-08-12 08:29:52 +07:00
grc.info misc/grc: Updated for version 1.13, new maintainer, support csh. 2023-08-12 08:29:52 +07:00
ipaddr.diff misc/grc: Minor bugfix from Debian. 2024-02-10 16:17:26 +07:00
slack-desc misc/grc: Fix slack-desc. 2016-11-14 16:47:23 +07:00

README

grc (generic colouriser)

grc provides two programs: grc and grcat. The main one 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.

One major use of grc is to colorize the output of commonly-used shell
commands. For this to work, grc has to set up the environment of your
shell when it starts up. How you do this depends on which shell you
use.

bash, ksh, other POSIX-like shells
----------------------------------
To enable this globally for all users:

  chmod +x /etc/profile.d/grc.sh

Or, you can enable it for just your user by adding this line to one of
your shell startup scripts (.profile, .bashrc, .kshrc, etc):

  [ -e /etc/profile.d/grc.sh ] && . /etc/profile.d/grc.sh

csh, tcsh
---------
To enable this globally for all users:

  chmod +x /etc/profile.d/grc.csh

Or, for one user, add to your .cshrc:

  if ( -e /etc/profile.d/grc.csh ) then
    source /etc/profile.d/grc.csh
  endif

zsh
---
Add this line to your ~/.zshrc:

  [ -e /etc/grc.zsh ] && source /etc/grc.zsh

fish
----
Add this line to your ~/.config/fish/config.fish:

  [ -e /etc/grc.fish ] && source /etc/grc.fish