1
0
Fork 0
mirror of synced 2024-11-30 03:05:35 -05:00

[spectrum] add FX var check

This commit is contained in:
Matt Hamilton 2016-01-12 13:07:27 -05:00
parent e9398e91fd
commit 284f5cf3ba

View file

@ -5,6 +5,10 @@
# Return if requirements are not found. # Return if requirements are not found.
if [[ ${TERM} == 'dumb' ]]; then if [[ ${TERM} == 'dumb' ]]; then
return 1 return 1
elif
[[ -n ${FX} ]]; then
# FX is set or sourced by another module
return 1
fi fi
typeset -gA FX FG BG typeset -gA FX FG BG