From e0a3905a72682eb79731ad8b1debc1cb24507db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=84min=20Baumeler?= Date: Sat, 5 Jul 2025 12:07:29 +0200 Subject: [PATCH] impr: category selection --- src/main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.sh b/src/main.sh index 0140a7c..c70db85 100644 --- a/src/main.sh +++ b/src/main.sh @@ -136,7 +136,8 @@ while true; do __attachment_view "$file" ;; "ctrl-t") - query="'$(__select_category)'" + cat="$(__select_category)" + [ -n "$cat" ] && query="'$cat'" ;; "") __edit "$file"