From a817cf6ed299b6378a48e4623512bab5e73af31f Mon Sep 17 00:00:00 2001 From: Shaoyun Yu Date: Tue, 10 Dec 2019 10:50:55 +0900 Subject: [PATCH] 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 --- z.lua.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.lua.plugin.zsh b/z.lua.plugin.zsh index bb35255..dd90701 100644 --- a/z.lua.plugin.zsh +++ b/z.lua.plugin.zsh @@ -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)"