diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-02 12:07:38 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-05-11 21:06:46 +0200 |
commit | 7e79145d4688fb03c00f1714d4f60c116275bfed (patch) | |
tree | dd67c2c3f26dbcba8cbc54de5a84ab7bd013fedc /src/plugins/fifo/fifo-config.c | |
parent | d2c5bba35654bfbf9e69e1d60d8b812b9416f7d3 (diff) | |
download | weechat-7e79145d4688fb03c00f1714d4f60c116275bfed.zip |
fifo: change default value of option fifo.file.path to "${weechat_runtime_dir}/weechat_fifo" (issue #1285)
Diffstat (limited to 'src/plugins/fifo/fifo-config.c')
-rw-r--r-- | src/plugins/fifo/fifo-config.c | 8 |
1 files 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); |