Fix minor issue in colorls.csh script with noclobber on (reported by Ty! Boyack)
This commit is contained in:
parent
9b2b941682
commit
bf6c8ea752
@ -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`"
|
||||
|
Loading…
Reference in New Issue
Block a user