From 19bf10647c2a182f36a4d6fc2e87e21f7d897f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 2 May 2021 13:08:38 +0200 Subject: [PATCH] script: change default value of option script.scripts.path to "${weechat_cache_dir}/script" (issue #1285) --- src/plugins/script/script-config.c | 8 ++++---- 1 file 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,