diff options
| author | Tobias Frilling <tobias@frilling-online.de> | 2016-08-28 20:34:36 +0200 |
|---|---|---|
| committer | Tobias Frilling <tobias@frilling-online.de> | 2016-08-28 20:34:36 +0200 |
| commit | 639de4c27bb29425cd2c51680fa79d53fcffc4e4 (patch) | |
| tree | 6ce760ab483fb7718069c5b2b00f0f1fd87d0d3f | |
| parent | d87390934e161ad2ae09b4dc37f4b529a84caa92 (diff) | |
| download | fzf-639de4c27bb29425cd2c51680fa79d53fcffc4e4.tar.gz | |
Split default zsh binding at the correct place
The command substitution and following word splitting to determine the default
zle widget for ^I formerly only works if the IFS parameter contains a space. Now
it specifically splits at spaces, regardless of IFS.
| -rw-r--r-- | shell/completion.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/completion.zsh b/shell/completion.zsh index 623602f2..cef8afaf 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -186,7 +186,7 @@ fzf-completion() { [ -z "$fzf_default_completion" ] && { binding=$(bindkey '^I') - [[ $binding =~ 'undefined-key' ]] || fzf_default_completion=$binding[(w)2] + [[ $binding =~ 'undefined-key' ]] || fzf_default_completion=$binding[(s: :w)2] unset binding } |
