From 0758709b29bc5259b70980a10ec14a6542dcb465 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 13 Apr 2022 17:42:47 +0300 Subject: bin: fix bukutagexplorer bug --- .local/bin/bukutagexplorer | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/bukutagexplorer b/.local/bin/bukutagexplorer index 8cfaba2..afa2cf3 100755 --- a/.local/bin/bukutagexplorer +++ b/.local/bin/bukutagexplorer @@ -1,4 +1,3 @@ #!/usr/bin/env bash -# TODO cannot handle tags with multiple tokens -buku -t "$(buku --np -t | fzf --reverse --preview "buku --nostdin --np -t {2}" --preview-window=wrap | awk {'print $2'})" +buku -t "$(buku --np -t | fzf --reverse --preview "buku --nostdin --np -t {2}" --preview-window=wrap | awk 'match($0, /\.(.*)\(/) { print substr($0, RSTART+2, RLENGTH-4) }')" -- cgit v1.2.3-70-g09d2