From ecf3d4af7078c49902dd2c7814e20a9c3a8089de Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 5 Sep 2016 15:34:09 -0400 Subject: [PATCH] bashrc: allow empty LS_COLORS --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index bfb9f45..7ae9b50 100644 --- a/.bashrc +++ b/.bashrc @@ -25,7 +25,7 @@ unset LDPATH # KDE bs shopt -s checkwinsize shopt -s no_empty_cmd_completion -[ "${LS_COLORS+set}" = "set" ] || eval `dircolors 2>/dev/null` +[ "${LS_COLORS:+set}" = "set" ] || eval "$(dircolors 2>/dev/null)" [ -r /usr/local/src/blackfin/bin/bfin-alias ] && . /usr/local/src/blackfin/bin/bfin-alias [ -r /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias ] && . /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias -- 2.39.5