1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-14 19:59:48 +00:00

Refactor the z.lua.plugin.zsh script to ensure proper initialization with or without FZF support

This commit is contained in:
skywind3000
2024-02-20 11:43:00 +08:00
parent 9a24fef334
commit d3ba781d4d

View File

@@ -22,9 +22,9 @@ fi
export _ZL_FZF_FLAG=${_ZL_FZF_FLAG:-"-e"}
if [[ -z "$_ZL_ZSH_NO_FZF" ]]; then
eval "$($ZLUA_EXEC $ZLUA_SCRIPT --init zsh once enhanced zsh)"
else
eval "$($ZLUA_EXEC $ZLUA_SCRIPT --init zsh once enhanced)"
else
eval "$($ZLUA_EXEC $ZLUA_SCRIPT --init zsh once enhanced zsh)"
fi
if [[ -z "$_ZL_NO_ALIASES" ]]; then