Skip to content

Commit 4900651

Browse files
author
skywind3000
committed
Merge branch 'master' of https://github.com/skywind3000/z.lua
2 parents 836efd3 + 3b8b4c1 commit 4900651

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

z.lua.plugin.zsh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ if [[ -z "$ZLUA_EXEC" ]]; then
2020
fi
2121
fi
2222

23-
export _ZL_FZF_FLAG="-e"
23+
export _ZL_FZF_FLAG=${_ZL_FZF_FLAG:-"-e"}
2424

2525
eval "$($ZLUA_EXEC $ZLUA_SCRIPT --init zsh once enhanced)"
2626

27-
28-
alias zz='z -i'
29-
alias zc='z -c'
30-
alias zf='z -I'
31-
alias zb='z -b'
32-
alias zh='z -I -t .'
33-
alias zzc='zz -c'
34-
27+
if [[ -z "$_ZL_NO_ALIASES" ]]; then
28+
alias zz='z -i'
29+
alias zc='z -c'
30+
alias zf='z -I'
31+
alias zb='z -b'
32+
alias zh='z -I -t .'
33+
alias zzc='zz -c'
34+
fi

0 commit comments

Comments
 (0)