dotfiles/office/.config/sh/alias.d/timewarrior.sh
Marty Oehme b534454a88
task: Integrate into office module
Since I am striving for closer connection between my task management, my
mail suite and my calendar appointments, it makes sense to unify all
'office' tasks into the single office module instead of keeping
taskwarrior outside of it.
2022-12-08 14:10:11 +01:00

16 lines
296 B
Bash

#!/usr/bin/env sh
if ! exist timew; then
return 1
fi
# invoking tim without arguments prints out timesheet summary
# with ids attached.
# otherwise tim passes through any arguments to timew
tim() {
if [ "$#" -eq 0 ]; then
timew summary :ids
else
timew "$@"
fi
}