X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/724dc821cae7a1c1fa6ecb9c352597e82f5f02f7..09f6572d50f43509715cd634b47c6e2cd5afe944:/.bin/task diff --git a/.bin/task b/.bin/task new file mode 100755 index 0000000..7dd2cb4 --- /dev/null +++ b/.bin/task @@ -0,0 +1,12 @@ +#!/bin/sh +set -eu + +CODEDIR=~/code/taskwarrior + +[ -d $CODEDIR/tasklib ] && export PYTHONPATH=$CODEDIR/tasklib + +for dir in $CODEDIR/taskwarrior/src /usr/bin; do + [ ! -x $dir/task ] || exec $dir/task "$@" +done + +echo >&2 E: task binary not found.