Closed aravance closed 8 months ago
Likely related: #3591
You should never put --expect
in your FZF_DEFAULT_OPTS. When --expect
is given and you press enter or any of the specified keys, fzf will print the name of the key as the first line. This will break every script that doesn't expect an extra line.
man fzf
)Info
Problem / Steps to reproduce
Case 1
export FZF_DEFAULT_OPTS="--expect=ctrl-y"
<ctrl-r>
<enter>
expected:
actual:
Case 2
export FZF_DEFAULT_OPTS="--expect=ctrl-y"
<ctrl-r>
<ctrl-y>
expected:
actual: