commit 6550f8158f9bd8251023de8ed80e01ab37d0bac9
parent 031f09cb9ea7b3dae393b79b084d7627a30b0a9a
Author: regexghost <dev@regexghost.com>
Date: Thu, 18 Jun 2026 21:12:46 +0100
fixed exiting on no fzf selection in view
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bug.sh b/bug.sh
@@ -121,7 +121,7 @@ edit () {
view () {
id="$1"
- [ "$id" = "" ] && id=$(selectEntry) && { [ "$?" = "0" ] || exit; }
+ [ "$id" = "" ] && { id=$(selectEntry); { [ "$?" = "0" ] || exit; }; }
lineToFile $id
output="$(cat /tmp/bug_todo_temp | sed "\
s/^ID:/\\${MAGENTA}\\${BOLD}ID:\\${RESET_COLOUR}/g; \