summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-11-29 23:36:55 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-11-29 23:36:55 +0100
commitfa3ada831d3e8ae55b904574ec769408f06a11e8 (patch)
treeed6dea412082e3229707726d9f79b04fa185aad3 /src/plugins
parentd0af6b8dcea49c8641e8257377d871e11f092621 (diff)
downloadweechat-fa3ada831d3e8ae55b904574ec769408f06a11e8.zip
core: add optional command prefix in completion templates "commands", "plugins_commands" and ""weechat_commands"
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/alias/alias-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/alias/alias-command.c b/src/plugins/alias/alias-command.c
index f492faaa5..212f735e7 100644
--- a/src/plugins/alias/alias-command.c
+++ b/src/plugins/alias/alias-command.c
@@ -286,8 +286,8 @@ alias_command_init ()
"completion of /sajoin:\n"
" /alias addcompletion %%sajoin forcejoin /quote forcejoin"),
"list %(alias)"
- " || add %(alias) %(commands)|%(alias_value)"
- " || addcompletion %- %(alias) %(commands)|%(alias_value)"
+ " || add %(alias) %(commands:/)|%(alias_value)"
+ " || addcompletion %- %(alias) %(commands:/)|%(alias_value)"
" || del %(alias)|%*",
&alias_command_cb, NULL, NULL);
}