diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-05-23 14:21:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-05-23 14:21:17 -0300 |
commit | 260b8fc6339dbc3a7895278e4893198c480739ab (patch) | |
tree | f570857d5a5b4cfdec60acd4e1a62f538baf355f | |
parent | 0f99ca31e94884bab01642c20701de4ba14df999 (diff) | |
download | scripts-260b8fc6339dbc3a7895278e4893198c480739ab.tar.gz scripts-260b8fc6339dbc3a7895278e4893198c480739ab.tar.bz2 |
Feat: another taskwarrior wrapper
-rwxr-xr-x | task | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |