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.
This commit is contained in:
parent
4b4afc68f3
commit
b534454a88
13 changed files with 18 additions and 22 deletions
16
office/.config/sh/alias.d/timewarrior.sh
Normal file
16
office/.config/sh/alias.d/timewarrior.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue