[zsh] Fix issues with unicode characters

This commit is contained in:
Junegunn Choi committed 2016-04-25 01:04:35 +09:00
1 parent 095f31b316
commit 988c9bd9be
3 files changed
+32 -2

No files matched your search

+1 -1
View File
@@ -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
}