From 6dc39e621f03d27fc790fc600b0c35181e9a6f8c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 30 Apr 2009 21:36:35 +0200 Subject: The colours are customizable, so add them to pkg.conf(5) --- man/5/pkg.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/man/5/pkg.conf b/man/5/pkg.conf index 31483aa..6dd19b0 100644 --- a/man/5/pkg.conf +++ b/man/5/pkg.conf @@ -76,6 +76,23 @@ Example: function pkg_hook_post-update {clear_line; echo "Hello from package $1! =back +=head2 COLOURS + +Colours are defined in the same way as options. They take an ANSI escape code +as argument. + +=over + +=item B=I ($'\e[0;36m') + +Colour for informational messages (default: cyan) + +=item B=I ($'\e[0;31m') + +Colour for warning and error messages (default: red) + +=back + =head1 SEE ALSO L(1), L(1) -- cgit v1.2.3