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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user