taskwarrior: Fix taskopen note directory location

Fixed error in configuration file location for taskopen alias which put
the config file instead of the notes directory.
Now configuration file correctly resides in
$XDG_CONFIG_HOME/task/taskopenrc and notes dir is
$XDG_DATA_HOME/task/notes.

Notes can now correctly be created by doing `task <id> annotate Note`.
This commit is contained in:
Marty Oehme 2021-08-24 23:09:11 +02:00
parent 251965799c
commit f08c8ebefd
Signed by: Marty
GPG key ID: B7538B8F50A1C800
3 changed files with 74 additions and 1 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh
alias taskopen='taskopen -c ${XDG_DATA_HOME}/task/notes'
alias taskopen='taskopen -c ${XDG_CONFIG_HOME:-~/.config}/task/taskopenrc'
# invoking t starts the task shell
# passing arguments along passes them straight through to taskwarrior instead