Fix minor issue in colorls.csh script with noclobber on (reported by Ty! Boyack)

This commit is contained in:
Ondřej Vašík 2013-11-06 14:24:54 +01:00
parent 9b2b941682
commit bf6c8ea752
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ if ( ! -e "$COLORS" ) exit
set _tmp="`mktemp .colorlsXXX --tmpdir=/tmp`"
if ( "$INCLUDE" != '' ) cat "$INCLUDE" > $_tmp
if ( "$INCLUDE" != '' ) cat "$INCLUDE" >> $_tmp
grep -v '^INCLUDE' "$COLORS" >> $_tmp
eval "`dircolors -c $_tmp`"