From 217cd4dfd29e6bdf082c44d2b12bbf7af3bf1870 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Wed, 3 Jun 2020 19:25:52 +0200 Subject: [PATCH] Change matching method in search script to fuzzy --- .local/bin/scripts/search | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.local/bin/scripts/search b/.local/bin/scripts/search index fa94d18..ada0a8d 100755 --- a/.local/bin/scripts/search +++ b/.local/bin/scripts/search @@ -4,7 +4,10 @@ bmfile="$HOME/.config/bookmarks" -m() { rofi -dmenu -width 600 -i -p "Search" -l "$(wc -l "$bmfile")" ;} +m() { + rofi -dmenu -width 600 -i -p "Search" -l "$(wc -l "$bmfile")" \ + -matching fuzzy +} chosen="$( sed 's/http.*\/ //g' "$bmfile" | m