allow the user to custom _ZL_FZF_FLAG beforehand

increase flexibility: allow the user to custom _ZL_FZF_FLAG before the zsh plugin is loaded
This commit is contained in:
Shaoyun Yu
2019-12-10 10:50:55 +09:00
committed by GitHub
parent 5c36d55698
commit a817cf6ed2
+1 -1
View File
@@ -20,7 +20,7 @@ if [[ -z "$ZLUA_EXEC" ]]; then
fi
fi
export _ZL_FZF_FLAG="-e"
export _ZL_FZF_FLAG=${_ZL_FZF_FLAG:-"-e"}
eval "$($ZLUA_EXEC $ZLUA_SCRIPT --init zsh once enhanced)"