aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-rainbow.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-06-15 09:44:50 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-06-15 09:48:43 +0300
commit360dcd3907a7556a2ffa841380142e1f9dc6ec33 (patch)
tree9a9fce025dc3e09b1605a5cdc018f7b344431208 /config/p10k-rainbow.zsh
parent944f52fc430259ff49f497f3516a3ddfb45a0a6b (diff)
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.
Diffstat (limited to 'config/p10k-rainbow.zsh')
0 files changed, 0 insertions, 0 deletions