From 9bfa74fd5dea3063dee266a7b82322ea59915537 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Feb 08 2008 16:27:31 +0000 Subject: Fixed syntax error in colors.csh script --- diff --git a/coreutils-colorls.csh b/coreutils-colorls.csh index 64ffe94..caabb61 100755 --- a/coreutils-colorls.csh +++ b/coreutils-colorls.csh @@ -16,7 +16,7 @@ if ($?TERM) then endif endif if ( -e "/etc/DIR_COLORS.256color" ) then - if ( "`tput colors 2>/dev/null`" == "256" ) then + if ( "`tput colors`" == "256" ) then set COLORS=/etc/DIR_COLORS.256color endif endif @@ -29,7 +29,7 @@ endif if ( ! -e "$COLORS" ) exit -eval `dircolors -c $COLORS 2>/dev/null` +eval `dircolors -c $COLORS` if ( "$LS_COLORS" == '' ) exit set color_none=`sed -n '/^COLOR.*none/Ip' < $COLORS`