summaryrefslogtreecommitdiff
path: root/mac/.local/bin/task/taskwarrior-tui/taskopen-annotation
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.local/bin/task/taskwarrior-tui/taskopen-annotation')
-rwxr-xr-xmac/.local/bin/task/taskwarrior-tui/taskopen-annotation11
1 files changed, 11 insertions, 0 deletions
diff --git a/mac/.local/bin/task/taskwarrior-tui/taskopen-annotation b/mac/.local/bin/task/taskwarrior-tui/taskopen-annotation
new file mode 100755
index 0000000..3b292e8
--- /dev/null
+++ b/mac/.local/bin/task/taskwarrior-tui/taskopen-annotation
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -eu
+
+if [ -z "$2" ]; then
+ echo "Second argument is unset" >>/tmp/taskopen_debug.log
+else
+ echo "Second argument is set to '$2'" >>/tmp/taskopen_debug.log
+fi
+
+taskopen "$1"