1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

core: add support for $XDG_STATE_HOME

This commit is contained in:
90
2024-04-08 18:46:27 +01:00
committed by Sébastien Helleu
parent 3bfe4e52ca
commit 8c3f16dbe3
17 changed files with 166 additions and 35 deletions
+2
View File
@@ -1153,6 +1153,8 @@ string_eval_path_home (const char *path,
ptr_directory = weechat_config_dir;
else if (strcmp (ptr_option_directory, "data") == 0)
ptr_directory = weechat_data_dir;
else if (strcmp (ptr_option_directory, "state") == 0)
ptr_directory = weechat_state_dir;
else if (strcmp (ptr_option_directory, "cache") == 0)
ptr_directory = weechat_cache_dir;
else if (strcmp (ptr_option_directory, "runtime") == 0)