diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-25 00:53:11 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-25 01:04:35 +0900 |
| commit | 988c9bd9be48b487bccca2d1d90d67c341c3bbf3 (patch) | |
| tree | ae2bd59c0102f1ff5d4b7925648b29d04d512548 /shell/completion.zsh | |
| parent | 095f31b31691577641894b1942b316514ae23f3f (diff) | |
| download | fzf-988c9bd9be48b487bccca2d1d90d67c341c3bbf3.tar.gz | |
[zsh] Fix issues with unicode characters
Diffstat (limited to 'shell/completion.zsh')
| -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 25c021a8..74d1ad32 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -54,7 +54,7 @@ __fzf_generic_path_completion() { [ "$dir" != "/" ] && dir="${dir/%\//}" dir=${~dir} matches=$(eval "$compgen $(printf %q "$dir")" | ${=fzf} ${=FZF_COMPLETION_OPTS} ${=fzf_opts} -q "$leftover" | while read item; do - printf "%q$suffix " "$item" + echo -n "${(q)item}$suffix " done) matches=${matches% } if [ -n "$matches" ]; then |
