[spectrum] add FX var check
This commit is contained in:
parent
e9398e91fd
commit
284f5cf3ba
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue