From 5b30a28a3645453fb1578a0f37184fe6471f7604 Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 28 Dec 2023 19:45:50 +0100 Subject: fix(hm/pkgs/src/neorg/project): Exit instead of doing something different --- hm/soispha/pkgs/scripts/wrappers/neorg/neorg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg/neorg index a4326610..2c3736f9 100755 --- a/hm/soispha/pkgs/scripts/wrappers/neorg/neorg +++ b/hm/soispha/pkgs/scripts/wrappers/neorg/neorg @@ -146,7 +146,7 @@ CONTEXT_open_current_task_context_at_task_id() { # Project {{{ PROJECT_open_current_context_in_browser() { current_context="$(UTILS_get_current_context)"; - [ "$current_context" ] || WORKSPACE_open_neorg_workspace_prompt; + [ "$current_context" ] || die "No current context to use"; PROJECT_open_context_in_browser "$(UTILS_context_to_project_name "$current_context")"; } PROJECT_open_context_in_browser() { -- cgit 1.4.1