summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-10-19 15:51:01 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-10-19 15:51:01 +0300
commita124a7103236124c95128f71da632f50d426ba7c (patch)
tree535e341b2e8991f23f856f78fc42ee54039599bc
parentfb2805e5abf02c397fddfa35c16e31d05521c6ca (diff)
typo
-rw-r--r--internal/wizard.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 86a551e5..a1b87220 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -24,7 +24,7 @@ else
fi
local -i in_z4h_wizard=0
-[[ $force == 0 && $functions[z4h] == 1 && -n $Z4H && -e $Z4H/welcome ]] && in_z4h_wizard=1
+[[ $force == 0 && $+functions[z4h] == 1 && -n $Z4H && -e $Z4H/welcome ]] && in_z4h_wizard=1
local -i success=0