summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2024-10-14 21:36:11 +0200
committerFlorian Pritz <bluewind@xinu.at>2024-10-14 21:54:03 +0200
commit25ef852543815f8839dda5247c2651f70e597143 (patch)
tree424d0ff52156030856a189e8c097fd80abb5c721
parent871005bf8e426c0a79a3889c0043a3865217a29a (diff)
downloadbin-25ef852543815f8839dda5247c2651f70e597143.tar.gz
bin-25ef852543815f8839dda5247c2651f70e597143.tar.xz
rofi-hosts: Use fuzzy matching
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xrofi-hosts2
1 files changed, 1 insertions, 1 deletions
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