git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Keeping <john@keeping.me.uk>
To: Nicolas <sanpi@homecomputing.fr>
Cc: git@vger.kernel.org
Subject: Re: Colorize output
Date: Thu, 7 Nov 2013 18:32:48 +0000	[thread overview]
Message-ID: <20131107183248.GO24023@serenity.lan> (raw)
In-Reply-To: <527BD783.7080606@homecomputing.fr>

On Thu, Nov 07, 2013 at 07:10:11PM +0100, Nicolas wrote:
> I’m developping a git command in shell and I would like colorize the output.
> 
> I don’t find anything in git-sh-setup.
> 
> What is the best way for don’t reinvent the wheel?

I normally use "git config --get-color ..." either with standard colors
if my command is close to a standard command or with my own config keys
and sensible defaults.

      reply	other threads:[~2013-11-07 18:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 18:10 Colorize output Nicolas
2013-11-07 18:32 ` John Keeping [this message]

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=20131107183248.GO24023@serenity.lan \
    --to=john@keeping.me.uk \
    --cc=git@vger.kernel.org \
    --cc=sanpi@homecomputing.fr \
    /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;
as well as URLs for NNTP newsgroup(s).