From: Matthias Lederhofer Date: Sat, 05 Aug 2006 20:27:59 GMT Subject: Re: [PATCH] git-status: colorize status output Message-ID: <20060805202759.GA16186@moooo.ath.cx> In-Reply-To: <20060805194513.GA4836@sigio.intra.peff.net> Jeff King wrote: > > Is there any way to do isatty() from shell scripts? > > As Junio said, test -t. :) Is there interest in me adding that feature? I would suggest that all scripts that use colors have a always/auto/never (with boolean fallback) option and also honor pager.color if the pager is in use.