Re: Colorize output
- From
John Keeping <john@keeping.me.uk>
- Date
- Nov 7, 2013, 18:32 UTC
- Message-ID
- <20131107183248.GO24023@serenity.lan>
- In-Reply-To
- <527BD783.7080606@homecomputing.fr>
On Thu, Nov 07, 2013 at 07:10:11PM +0100, Nicolas wrote:
Show 5 quoted lines
> 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.