public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: util-linux@vger.kernel.org
Cc: Ondrej Oprala <ooprala@redhat.com>
Subject: /etc/terminal-colors.d
Date: Tue, 11 Mar 2014 10:52:47 +0100	[thread overview]
Message-ID: <20140311095247.GI9303@x2.net.home> (raw)



 Hi,

as already discussed we need a way how to control colorized output
(ideally something better than shell alias or env.variables).

I have merged support for

  /etc/terminal-colors.d/disable
  /etc/terminal-colors.d/<name>.disable
  /etc/terminal-colors.d/<name>.enable

where the <name> is util name (e.g. "dmesg"). The colors for all utils
are enabled for now.


The next step will be (probably) to support color scheme setting by

  /etc/terminal-colors.d/<name>.colors

in the same way how coreutils specifies dir_colors.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

                 reply	other threads:[~2014-03-11  9:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140311095247.GI9303@x2.net.home \
    --to=kzak@redhat.com \
    --cc=ooprala@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox