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,3 +1,5 @@
#!/usr/bin/env sh
export TASKRC="$XDG_CONFIG_HOME/task/taskrc"
[ -d "$XDG_DATA_HOME/task/notes" ] || mkdir -p "$XDG_DATA_HOME/task/notes"