From 6615ef428349eabd34047dad6481943469bfe546 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 22 Mar 2015 01:48:00 -0400 Subject: [PATCH] run dircolors only when LS_COLORS is not set --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5