From ddefca9a3d5bda05a4db23d38f4f79fa00d94f81 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 24 Dec 2021 04:53:35 +0100 Subject: [PATCH] Pass non-matched fzf queries with enter too --- home/.local/bin/scripts/cheat.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.local/bin/scripts/cheat.sh b/home/.local/bin/scripts/cheat.sh index f7c8559..609a450 100755 --- a/home/.local/bin/scripts/cheat.sh +++ b/home/.local/bin/scripts/cheat.sh @@ -27,6 +27,7 @@ else options=$(curl -s "cheat.sh/$selected/:list") query="$(printf "\n$options" | \ fzf --bind=alt-enter:print-query \ + --print-query \ --prompt="cheat.sh query>" \ --header="use alt-enter to enter non-listed query"\ )"