From: Sergey Matveev Date: Sat, 5 Nov 2022 10:42:22 +0000 (+0300) Subject: Working properly quoted filename X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=a29ad45eba360d16aef0a148ab6121e43d45e22b Working properly quoted filename --- diff --git a/tmux/.tmux/functions.zsh/tmux-fzf-find b/tmux/.tmux/functions.zsh/tmux-fzf-find index c114afd..54b8fac 100644 --- a/tmux/.tmux/functions.zsh/tmux-fzf-find +++ b/tmux/.tmux/functions.zsh/tmux-fzf-find @@ -3,4 +3,4 @@ bfs -L . -mindepth 1 \ -path "*/.redo" -prune -o \ \( -type f -o -type d -o -type l \) -print | cut -c3- | fzf -m --preview="less -N -S {}" | -while read fn ; do print ${(q)fn} ; done +while read fn ; do print -r ${(q)fn} ; done