Hello,
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?
Thanks in advance.
Best regards. Nicolas.
Hello,
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?
Thanks in advance.
Best regards. Nicolas.
Re: Colorize output
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.