diff options
Diffstat (limited to 'bash/bashrc.d/ls.bash')
-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 c47859c9..96593e33 100644 --- a/bash/bashrc.d/ls.bash +++ b/bash/bashrc.d/ls.bash @@ -1,6 +1,6 @@ # Define function wrapper for ls(1) with --color option if LS_COLORS is set; # checks that color is available in the terminal within the function -if ! [[ $LS_COLORS ]] ; then +if [[ ! -n $LS_COLORS ]] ; then return fi |