From 0a76ee94560f23e8a218ef739c4d6040f6cbdd2f Mon Sep 17 00:00:00 2001 From: odrling Date: Mon, 15 Apr 2024 10:58:13 +0200 Subject: [PATCH] [zsh] fix prompt for fzf bindings --- .zsh/fzy.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zsh/fzy.zsh b/.zsh/fzy.zsh index 61bb239..b4753e8 100644 --- a/.zsh/fzy.zsh +++ b/.zsh/fzy.zsh @@ -49,9 +49,9 @@ function __fzy_cmd local -a args=( ) local value if zstyle -s ":fzy:${widget}" prompt value ; then - args+=( -p "${value}" ) + args+=( "--prompt=${value}" ) else - args+=( -p "${widget} >> " ) + args+=( "--prompt=${widget} >> " ) fi if zstyle -s ":fzy:${widget}" lines value ; then if [[ ${value} = min:* ]]; then