m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00
Files
fzf/src
Junegunn Choi d649f5d826 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 #2759
2022-12-30 14:29:17 +09:00
..
2022-03-29 21:23:45 +09:00
2022-11-27 16:30:59 +09:00
2022-08-13 22:40:37 +09:00
2021-02-28 18:28:21 +09:00
2017-07-18 03:14:33 +09:00
2021-03-07 11:30:26 +09:00
2022-12-29 20:04:33 +09:00
2021-01-13 19:10:24 +09:00
2019-07-19 13:22:35 +09:00
2016-08-19 02:39:32 +09:00
2017-08-15 01:10:41 +09:00
2021-01-03 00:56:11 +09:00
2021-02-17 10:28:43 +09:00
2022-12-23 15:37:39 +09:00
2022-12-29 20:04:33 +09:00
2022-03-29 21:23:45 +09:00
2022-08-02 21:48:19 +09:00
2022-03-29 21:23:45 +09:00
2022-03-29 21:23:45 +09:00
2022-03-29 21:23:45 +09:00