about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts/wrappers
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-19 10:17:27 +0200
committerSoispha <soispha@vhack.eu>2023-10-19 10:17:27 +0200
commit9a80fdec7e152d9ed0a33aa0f950520a5e08a7a6 (patch)
tree82ddb3480b19a00f1625485cde55e70df6d44110 /hm/soispha/pkgs/scripts/wrappers
parentfeat(hm/pkgs/scr/neorg): Support task specific heads in norg files (diff)
downloadnixos-config-9a80fdec7e152d9ed0a33aa0f950520a5e08a7a6.zip
fix(hm/pkgs/scr/neorg): Run search _after_ loading first file
Diffstat (limited to 'hm/soispha/pkgs/scripts/wrappers')
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/neorg2
1 files changed, 1 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/neorg b/hm/soispha/pkgs/scripts/wrappers/neorg
index ce45cc44..c7e08c15 100755
--- a/hm/soispha/pkgs/scripts/wrappers/neorg
+++ b/hm/soispha/pkgs/scripts/wrappers/neorg
@@ -88,7 +88,7 @@ open_current_task_context_at_task_id() {
             echo "* TITLE (% $task_uuid)" >> "$extended_neorg_project_dir/$context_path"
         fi
 
-        nvim "$extended_neorg_project_dir/$context_path" --cmd "/% $task_uuid";
+        nvim "$extended_neorg_project_dir/$context_path" -c "/% $task_uuid";
 
         git add .;
         git commit --message="chore($(dirname "$context_path")): Update" --no-gpg-sign