aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-05-23 14:21:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-05-23 14:21:17 -0300
commit260b8fc6339dbc3a7895278e4893198c480739ab (patch)
treef570857d5a5b4cfdec60acd4e1a62f538baf355f
parent0f99ca31e94884bab01642c20701de4ba14df999 (diff)
downloadscripts-260b8fc6339dbc3a7895278e4893198c480739ab.tar.gz
scripts-260b8fc6339dbc3a7895278e4893198c480739ab.tar.bz2
Feat: another taskwarrior wrapper
-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