summaryrefslogtreecommitdiff
path: root/shell/key-bindings.zsh
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-04-25 00:53:11 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-04-25 01:04:35 +0900
commit988c9bd9be48b487bccca2d1d90d67c341c3bbf3 (patch)
treeae2bd59c0102f1ff5d4b7925648b29d04d512548 /shell/key-bindings.zsh
parent095f31b31691577641894b1942b316514ae23f3f (diff)
downloadfzf-988c9bd9be48b487bccca2d1d90d67c341c3bbf3.tar.gz
[zsh] Fix issues with unicode characters
Diffstat (limited to 'shell/key-bindings.zsh')
-rw-r--r--shell/key-bindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh
index 8a03585d..f60bbaea 100644
--- a/shell/key-bindings.zsh
+++ b/shell/key-bindings.zsh
@@ -9,7 +9,7 @@ __fsel() {
-o -type d -print \
-o -type l -print 2> /dev/null | sed 1d | cut -b3-"}"
eval "$cmd" | $(__fzfcmd) -m | while read item; do
- printf '%q ' "$item"
+ echo -n "${(q)item} "
done
echo
}