aboutsummaryrefslogtreecommitdiff
path: root/task
diff options
context:
space:
mode:
Diffstat (limited to 'task')
-rwxr-xr-xtask14
1 files changed, 14 insertions, 0 deletions
diff --git a/task b/task
new file mode 100755
index 0000000..60b116e
--- /dev/null
+++ b/task
@@ -0,0 +1,14 @@
+#!/bin/bash
+#
+# A very simple taskwarrior wrapper.
+#
+
+# Parameters
+TASK="/usr/bin/task"
+
+# Dispatch
+if [ -e ".task" ]; then
+ $TASK rc.data.location=.task "${@}"
+else
+ $TASK "${@}"
+fi