Skip to content

Commit

Permalink
allow the user to custom _ZL_FZF_FLAG beforehand
Browse files Browse the repository at this point in the history
increase flexibility: allow the user to custom _ZL_FZF_FLAG before the zsh plugin is loaded
  • Loading branch information
syu-id committed Dec 10, 2019
1 parent 5c36d55 commit a817cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z.lua.plugin.zsh
Expand Up @@ -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)"

Expand Down

0 comments on commit a817cf6

Please sign in to comment.