[zsh] fix prompt for fzf bindings

This commit is contained in:
odrling 2024-04-15 10:58:13 +02:00
parent db80ace55e
commit 0a76ee9456
No known key found for this signature in database
GPG key ID: EC907F69A27A90C5

View file

@ -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