summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-28 16:58:47 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-28 16:59:56 +0900
commita06745826a4cba4f578a69258f9def75c59530fc (patch)
treecdd99d88cbad8824e4b809b7e25ec546399098df /shell
parent0420ed4f2a7edcc7f91dc233665f914ce023b7b3 (diff)
downloadfzf-a06745826a4cba4f578a69258f9def75c59530fc.tar.gz
[zsh] Fix completion error on openSUSE Tumbleweed
Fix suggested by @LangLangBart Fix #3890
Diffstat (limited to 'shell')
-rw-r--r--shell/completion.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/completion.zsh b/shell/completion.zsh
index 90237097..46103f98 100644
--- a/shell/completion.zsh
+++ b/shell/completion.zsh
@@ -198,11 +198,11 @@ _fzf_dir_completion() {
"" "/" ""
}
-_fzf_feed_fifo() (
+_fzf_feed_fifo() {
command rm -f "$1"
mkfifo "$1"
- cat <&0 > "$1" &
-)
+ cat <&0 > "$1" &|
+}
_fzf_complete() {
setopt localoptions ksh_arrays