diff options
author | Florian Pritz <bluewind@xinu.at> | 2024-10-14 21:36:11 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2024-10-14 21:54:03 +0200 |
commit | 25ef852543815f8839dda5247c2651f70e597143 (patch) | |
tree | 424d0ff52156030856a189e8c097fd80abb5c721 | |
parent | 871005bf8e426c0a79a3889c0043a3865217a29a (diff) | |
download | bin-25ef852543815f8839dda5247c2651f70e597143.tar.gz bin-25ef852543815f8839dda5247c2651f70e597143.tar.xz |
rofi-hosts: Use fuzzy matching
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | rofi-hosts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |