m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

[zsh-completion] Allow specifying empty completion trigger. (#230)

This commit is contained in:
Tiziano Santoro
2015-05-11 00:29:44 +01:00
committed by Junegunn Choi
parent 64949bf467
commit 14fbe06d9e

View File

@@ -109,7 +109,7 @@ fzf-zsh-completion() {
fi
cmd=${tokens[1]}
trigger=${FZF_COMPLETION_TRIGGER:-**}
trigger=${FZF_COMPLETION_TRIGGER-'**'}
# Trigger sequence given
tail=${LBUFFER:$(( ${#LBUFFER} - ${#trigger} ))}