diff options
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/neorg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg index f26faac4..c1f23edb 100755 --- a/hm/soispha/pkgs/scripts/wrappers/neorg +++ b/hm/soispha/pkgs/scripts/wrappers/neorg @@ -141,7 +141,7 @@ LIST_list_all_contexts_comma() { # Add {{{ ADD_open_taskwarrior_project_file() { task_project_file="%TASK_PROJECT_FILE"; - cd "$task_project_file" || die "BUG: task_project_file ('$task_project_file') can't be accessed" + cd "$(dirname $task_project_file)" || die "BUG: task_project_file ('$task_project_file') can't be accessed" git_dir="$(search_flake_base_dir)"; [ "$git_dir" ] || die "(BUG): No git directory?" cd "$git_dir" || die "Unreachable, this MUST exists" |