From a069a22a9e8aacbb80b7d248efc2976ebcc5261b Mon Sep 17 00:00:00 2001 From: Shreevatsa R Date: Fri, 8 May 2015 11:36:26 -0700 Subject: [PATCH] Don't clobber default LSCOLORS, if DISABLE_LS_COLORS is set to true. --- lib/theme-and-appearance.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh index 926303ca4..86d21ba27 100644 --- a/lib/theme-and-appearance.zsh +++ b/lib/theme-and-appearance.zsh @@ -1,10 +1,10 @@ # ls colors autoload -U colors && colors -export LSCOLORS="Gxfxcxdxbxegedabagacad" # Enable ls colors if [ "$DISABLE_LS_COLORS" != "true" ] then + export LSCOLORS="Gxfxcxdxbxegedabagacad" # Find the option for using colors in ls, depending on the version: Linux or BSD if [[ "$(uname -s)" == "NetBSD" ]]; then # On NetBSD, test if "gls" (GNU ls) is installed (this one supports colors);