dotfiles/taskwarrior/.config/sh/env.d/timewarrior-xdg.sh
Marty Oehme 6d1934fccd
taskwarrior: Make timewarrior more XDG compliant
Timewarrior now looks for its data directory in `XDG_CONFIG_HOME`
instead of the home directory. This is a little better than nothing, but
does not separate the configuration and data files from each other yet.

Data *should* be lying in `XDG_DATA_HOME` but the data directory can not
be separated since it relies on a single env var `TIMEWARRIORDB`.
2021-11-23 09:52:41 +01:00

3 lines
71 B
Bash

#!/usr/bin/env sh
export TIMEWARRIORDB="$XDG_CONFIG_HOME/timewarrior"