From c880ba36b5d543a003d6bc0a63c027f590ca34b6 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sun, 19 Jun 2011 17:21:40 +0100 Subject: [PATCH] Added a flag to disable colors with less --- lib/theme-and-appearance.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh index b6d210d43..1d2c67092 100644 --- a/lib/theme-and-appearance.zsh +++ b/lib/theme-and-appearance.zsh @@ -11,7 +11,9 @@ then fi # Less colors -export LESS=R +if [ "$DISABLE_LESS_COLORS" != "true" ]; then + export LESS=R +fi #setopt no_beep setopt auto_cd