From: Mikael Magnusson Date: Fri, 26 Aug 2011 11:20:30 GMT Subject: Re: [RFC PATCH] diff: use $COLUMNS if available for default stat_width Message-ID: In-Reply-To: <1314337647-29270-1-git-send-email-kris@shannon.id.au> On 26 August 2011 07:47, Kris Shannon wrote: > If the COLUMNS environment variable is set use it's value > as the default stat_width. > > Also set the stat_name_width default to 2/3 of the full width. > > This does change the default from 50 to 53 when using the > original 80 column stat_width fallback. You probably only want to do this when stdout is a terminal. -- Mikael Magnusson