Pass non-matched fzf queries with enter too

This commit is contained in:
ItsDrike 2021-12-24 04:53:35 +01:00
parent 0d0e9031d0
commit ddefca9a3d
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -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"\
)" )"