mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context: Do not append .config if XDG_CONFIG_HOME is defined
- Thanks to Julien Rabinow.
This commit is contained in:
parent
b64e754000
commit
f0e34a7ef7
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ int Context::initialize (int argc, const char** argv)
|
|||
const char* env_xdg_config_home = getenv ("XDG_CONFIG_HOME");
|
||||
|
||||
if (env_xdg_config_home)
|
||||
xdg_config_home = format ("{1}/.config", env_xdg_config_home);
|
||||
xdg_config_home = format ("{1}", env_xdg_config_home);
|
||||
else
|
||||
xdg_config_home = format ("{1}/.config", home_dir);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue