From 25ef852543815f8839dda5247c2651f70e597143 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 14 Oct 2024 21:36:11 +0200 Subject: rofi-hosts: Use fuzzy matching Signed-off-by: Florian Pritz --- rofi-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rofi-hosts') diff --git a/rofi-hosts b/rofi-hosts index 92031a2..0935ab2 100755 --- a/rofi-hosts +++ b/rofi-hosts @@ -24,6 +24,6 @@ set -euo pipefail input=$(cut -d\ -f1 .ssh/known_hosts .ssh/known_hosts_work | tr , "\n" \ | sed -r 's#(_ecdsa|_rsa|_ed25519|_dsa)$##' | sort -u \ - | rofi -lines 20 -dmenu -p "host") + | rofi -matching fuzzy -lines 20 -dmenu -p "host") printf "%s" "$input" | xclip -- cgit v1.2.3-24-g4f1b