From: Mike Frysinger Date: Sun, 22 Mar 2015 05:48:00 +0000 (-0400) Subject: run dircolors only when LS_COLORS is not set X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6615ef428349eabd34047dad6481943469bfe546;p=home.git run dircolors only when LS_COLORS is not set --- diff --git a/.bashrc b/.bashrc index 26ac112..bfb9f45 100644 --- a/.bashrc +++ b/.bashrc @@ -25,7 +25,7 @@ unset LDPATH # KDE bs shopt -s checkwinsize shopt -s no_empty_cmd_completion -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