From 6170f97cd6fbe6b489a47210d20f1d51696b985b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 2 May 2021 13:12:22 +0200 Subject: [PATCH] xfer: change default value of option xfer.file.download_path to "${weechat_data_dir}/xfer" (issue #1285) --- src/plugins/xfer/xfer-config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c index 499edb58d..05831dbc3 100644 --- a/src/plugins/xfer/xfer-config.c +++ b/src/plugins/xfer/xfer-config.c @@ -381,10 +381,10 @@ xfer_config_init () xfer_config_file_download_path = weechat_config_new_option ( xfer_config_file, ptr_section, "download_path", "string", - N_("path for writing incoming files: \"%h\" at beginning of string is " - "replaced by WeeChat home (\"~/.weechat\" by default) " - "(note: content is evaluated, see /help eval)"), - NULL, 0, 0, "%h/xfer", NULL, 0, + N_("path for writing incoming files " + "(path is evaluated, see function string_eval_path_home in " + "plugin API reference)"), + NULL, 0, 0, "${weechat_data_dir}/xfer", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); xfer_config_file_download_temporary_suffix = weechat_config_new_option ( xfer_config_file, ptr_section,