Skip to content

Commit

Permalink
^ func: task: remove the task wrapper, it has moved to taskwtools
Browse files Browse the repository at this point in the history
we still need this, but have moved it to our taskwtools repo in
src/taskwtools@1336a3d
  • Loading branch information
smemsh committed Nov 1, 2024
1 parent eb3adc9 commit 1688241
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions func.d/taskw
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,6 @@
# taskwarrior
#

# work around always defaulting to 80 columns when piping
# note: ${COLUMNS:-80} not needed, blank value is default (which is 80)
# todo: implement env var expansion in taskwarrior
# also: #991
#
task ()
{
for arg; do if [[ $arg == '--' ]]; then break
elif [[ $arg == '--version' ]]
then `type -P task` --version; return; fi; done

`type -P task` rc.defaultwidth=$COLUMNS "$@"
}

# for taskadd
#
taskaddl () { TASKADD="$*"; } # additional args (such as tags)
Expand Down

0 comments on commit 1688241

Please sign in to comment.