mirror of https://github.com/junegunn/fzf
Always execute preview command if {q} is in the template
Even when {q} is empty. Because, why not? While this can be seen as a breaking change, there is an easy workaround to keep the old behavior. # This will show // even when the query is empty : | fzf --preview 'echo /{q}/' # But if you don't want it, : | fzf --preview '[ -n {q} ] || exit; echo /{q}/' Close #2759pull/3110/head
parent
6c37177cf5
commit
d649f5d826
Loading…
Reference in New Issue