diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-02 13:08:38 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-11 21:06:58 +0200 |
commit | 19bf10647c2a182f36a4d6fc2e87e21f7d897f1c (patch) | |
tree | 813af1cc490999ebc58b82c422078f256f20e323 | |
parent | 4459119409c81ce9ea4d20324ccaf33f268c9256 (diff) | |
download | weechat-19bf10647c2a182f36a4d6fc2e87e21f7d897f1c.zip |
script: change default value of option script.scripts.path to "${weechat_cache_dir}/script" (issue #1285)
-rw-r--r-- | src/plugins/script/script-config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c index 303857c07..35ac28751 100644 --- a/src/plugins/script/script-config.c +++ b/src/plugins/script/script-config.c @@ -800,10 +800,10 @@ script_config_init () script_config_scripts_path = weechat_config_new_option ( script_config_file, ptr_section, "path", "string", - N_("local cache directory for scripts; \"%h\" at beginning of string " - "is replaced by WeeChat home (\"~/.weechat\" by default) " - "(note: content is evaluated, see /help eval)"), - NULL, 0, 0, "%h/script", NULL, 0, + N_("local cache directory for scripts " + "(path is evaluated, see function string_eval_path_home in " + "plugin API reference)"), + NULL, 0, 0, "${weechat_cache_dir}/script", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); script_config_scripts_url = weechat_config_new_option ( script_config_file, ptr_section, |