about summary refs log tree commit diff stats
path: root/pkgs/by-name/ne/neorg/functions/f_start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ne/neorg/functions/f_start.sh')
-rwxr-xr-xpkgs/by-name/ne/neorg/functions/f_start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/by-name/ne/neorg/functions/f_start.sh b/pkgs/by-name/ne/neorg/functions/f_start.sh
new file mode 100755
index 00000000..2423dd44
--- /dev/null
+++ b/pkgs/by-name/ne/neorg/functions/f_start.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env dash
+
+fstart0start_new_task() {
+    task_id="$1"
+    fstop0stop_current_task
+    task start "$task_id"
+}