1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2025-01-19 04:47:40 +02:00
Roman Perepelitsa 360dcd3907 respect XDG_DATA_HOME when looking for the timewarrior data directory (#2344)
The logic for finding the data directory is as follows:

1. Find the root directory:
  1.1 If TIMEWARRIORDB is set, use that.
  1.2 Else if ~/.timewarrior is an existing directory, use that.
  1.3 Else if XDG_DATA_HOME is set, use $XDG_DATA_HOME/timewarrior.
  1.4 Else use ~/.local/share/timewarrior.
2. Append "/data" to the root directory.
2023-06-15 08:48:43 +02:00
..
2020-06-15 17:56:32 +02:00
2022-01-26 15:03:22 +01:00