fix .profile.dircolor
This commit is contained in:
@@ -7,7 +7,7 @@ if [ -n "$PS1" ]; then
|
||||
#
|
||||
# Load better colors for ls.
|
||||
#
|
||||
if [ -x $(which /bin/dircolors) ] && [ $c_num -ge 256 ] && [ -f ~/.dir_colors ]; then
|
||||
if [ -x "$(which /bin/dircolors)" -a $c_num -ge 256 -a -f ~/.dir_colors ]; then
|
||||
eval $(dircolors ~/.dir_colors)
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user