From 7e79145d4688fb03c00f1714d4f60c116275bfed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 2 May 2021 12:07:38 +0200 Subject: [PATCH] fifo: change default value of option fifo.file.path to "${weechat_runtime_dir}/weechat_fifo" (issue #1285) --- src/plugins/fifo/fifo-config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/fifo/fifo-config.c b/src/plugins/fifo/fifo-config.c index b97f84acf..b31d94ff1 100644 --- a/src/plugins/fifo/fifo-config.c +++ b/src/plugins/fifo/fifo-config.c @@ -118,11 +118,11 @@ fifo_config_init () fifo_config_file_path = weechat_config_new_option ( fifo_config_file, ptr_section, "path", "string", - N_("path for FIFO file; \"%h\" at beginning of string is " - "replaced by WeeChat home (\"~/.weechat\" by default); " + N_("path for FIFO file; " "WeeChat PID can be used in path with ${info:pid} " - "(note: content is evaluated, see /help eval)"), - NULL, 0, 0, "%h/weechat_fifo", NULL, 0, + "(path is evaluated, see function string_eval_path_home in " + "plugin API reference)"), + NULL, 0, 0, "${weechat_runtime_dir}/weechat_fifo", NULL, 0, NULL, NULL, NULL, fifo_config_change_file_path, NULL, NULL, NULL, NULL, NULL);