X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/a8767d0e7ed2339be98c6244ead25d63034f85b9..8dabf9b46c3654e5182533552e43d0b28a0e0f2c:/.bin/task?ds=inline diff --git a/.bin/task b/.bin/task index 7dd2cb4..8ce793d 100755 --- a/.bin/task +++ b/.bin/task @@ -6,7 +6,11 @@ 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 "$@" + if [ -x $dir/task ]; then + export PATH="$dir:$PATH" + exec task "$@" + fi + done echo >&2 E: task binary not found.