mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Pass non-matched fzf queries with enter too
This commit is contained in:
parent
0d0e9031d0
commit
ddefca9a3d
|
@ -27,6 +27,7 @@ else
|
||||||
options=$(curl -s "cheat.sh/$selected/:list")
|
options=$(curl -s "cheat.sh/$selected/:list")
|
||||||
query="$(printf "\n$options" | \
|
query="$(printf "\n$options" | \
|
||||||
fzf --bind=alt-enter:print-query \
|
fzf --bind=alt-enter:print-query \
|
||||||
|
--print-query \
|
||||||
--prompt="cheat.sh query>" \
|
--prompt="cheat.sh query>" \
|
||||||
--header="use alt-enter to enter non-listed query"\
|
--header="use alt-enter to enter non-listed query"\
|
||||||
)"
|
)"
|
||||||
|
|
Loading…
Reference in a new issue