[zsh] Fix completion error on openSUSE Tumbleweed

Fix suggested by @LangLangBart

Fix #3890
This commit is contained in:
Junegunn Choi 2024-06-28 16:58:47 +09:00
parent 0420ed4f2a
commit a06745826a
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -198,11 +198,11 @@ _fzf_dir_completion() {
"" "/" "" "" "/" ""
} }
_fzf_feed_fifo() ( _fzf_feed_fifo() {
command rm -f "$1" command rm -f "$1"
mkfifo "$1" mkfifo "$1"
cat <&0 > "$1" & cat <&0 > "$1" &|
) }
_fzf_complete() { _fzf_complete() {
setopt localoptions ksh_arrays setopt localoptions ksh_arrays