diff options
-rw-r--r-- | bash/bashrc.d/ls.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash index 6fa20da9..5ae31fea 100644 --- a/bash/bashrc.d/ls.bash +++ b/bash/bashrc.d/ls.bash @@ -25,7 +25,7 @@ alias ls="ls $(__lsopts)" unset __lsopts # Define and store appropriate colors for ls -if command -v dircolors &>/dev/null; then +if hash dircolors 2>/dev/null; then eval "$(dircolors --sh)" fi |