From f36e219321d5ddbb4c8f17e67ded04f2bd429045 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sun, 24 Apr 2011 13:12:20 -0400 Subject: [PATCH] Respect disabling of colours in history-substring-search plugin. --- custom/history-substring-search.zsh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 custom/history-substring-search.zsh diff --git a/custom/history-substring-search.zsh b/custom/history-substring-search.zsh new file mode 100644 index 00000000..6c54f045 --- /dev/null +++ b/custom/history-substring-search.zsh @@ -0,0 +1,4 @@ +if [[ "$DISABLE_COLOR" == "true" ]]; then + F_ordinary_highlight="bg=none,fg=none" + F_out_of_matches_highlight="bg=none,fg=none" +fi