From 3e6aba7331a0b837cb572ee38a09143d087142c7 Mon Sep 17 00:00:00 2001 From: Vahagn Khachatryan Date: Fri, 25 Jun 2021 13:22:01 +0100 Subject: [PATCH] fix .profile.dircolor --- config/.profile.dircolor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/.profile.dircolor b/config/.profile.dircolor index 73de180..28383b8 100755 --- a/config/.profile.dircolor +++ b/config/.profile.dircolor @@ -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