Skip to content

Commit

Permalink
Refactor the z.lua.plugin.zsh script to ensure proper initialization …
Browse files Browse the repository at this point in the history
…with or without FZF support
  • Loading branch information
skywind3000 committed Feb 20, 2024
1 parent 9a24fef commit d3ba781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions z.lua.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3ba781

Please sign in to comment.