diff options
author | Soispha <soispha@vhack.eu> | 2023-12-28 19:45:50 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-28 19:45:50 +0100 |
commit | 5b30a28a3645453fb1578a0f37184fe6471f7604 (patch) | |
tree | 8d1f1ccba30a85389855ccd502b501bf0f044ab9 /hm/soispha/pkgs/scripts | |
parent | fix(hm/pkgs/src/neorg/utils): Correctly convert context to project names (diff) | |
download | nixos-config-5b30a28a3645453fb1578a0f37184fe6471f7604.zip |
fix(hm/pkgs/src/neorg/project): Exit instead of doing something different
Diffstat (limited to 'hm/soispha/pkgs/scripts')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/neorg/neorg | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |