From: tfheen Date: Sat, 2 Jun 2007 07:30:30 +0000 (+0000) Subject: Use --color=auto, not just --color X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77d4537390745ff690305dc65cde864127341dea;p=dotfiles Use --color=auto, not just --color git-svn-id: file:///svn/tfheen/trunk/dotfiles@1014 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/environment b/environment index aa2ccfe..8df8a4f 100644 --- a/environment +++ b/environment @@ -11,7 +11,7 @@ if [ `uname -s` = "FreeBSD" ] && alias | grep -q "ls="; then fi GREP_OPTIONS= -for grepopt in --colour; do +for grepopt in --colour=auto; do grep -q $grepopt . /etc/passwd && GREP_OPTIONS="$GREP_OPTIONS $grepopt" done