mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 01:03:14 +02:00
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285)
The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
This commit is contained in:
@@ -195,9 +195,9 @@ spell_warning_aspell_config ()
|
||||
char *aspell_filename, *spell_filename;
|
||||
|
||||
aspell_filename = weechat_string_eval_path_home (
|
||||
"%h/aspell.conf", NULL, NULL, NULL);
|
||||
"${weechat_config_dir}/aspell.conf", NULL, NULL, NULL);
|
||||
spell_filename = weechat_string_eval_path_home (
|
||||
"%h/" SPELL_CONFIG_NAME ".conf", NULL, NULL, NULL);
|
||||
"${weechat_config_dir}/" SPELL_CONFIG_NAME ".conf", NULL, NULL, NULL);
|
||||
|
||||
/* if aspell.conf is there and not spell.conf, display a warning */
|
||||
if (aspell_filename && spell_filename
|
||||
|
||||
Reference in New Issue
Block a user