From 284f5cf3ba0e4d78889fea45d0765c367b408318 Mon Sep 17 00:00:00 2001 From: Matt Hamilton Date: Tue, 12 Jan 2016 13:07:27 -0500 Subject: [PATCH] [spectrum] add FX var check --- modules/spectrum/init.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/spectrum/init.zsh b/modules/spectrum/init.zsh index a34f609..3300228 100644 --- a/modules/spectrum/init.zsh +++ b/modules/spectrum/init.zsh @@ -5,6 +5,10 @@ # Return if requirements are not found. if [[ ${TERM} == 'dumb' ]]; then return 1 +elif + [[ -n ${FX} ]]; then + # FX is set or sourced by another module + return 1 fi typeset -gA FX FG BG