summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-11-30 21:21:05 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-11-30 21:21:05 +0100
commitb27982382a63c033ec08b97a1dadd15ccf613107 (patch)
tree430d8ba6c58e4c107034a1b07c6632643550c036 /src/core/wee-command.c
parentfa3ada831d3e8ae55b904574ec769408f06a11e8 (diff)
downloadweechat-b27982382a63c033ec08b97a1dadd15ccf613107.zip
core: add command prefix in completion of /command
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index c78634893..b67ae23fd 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7095,8 +7095,8 @@ command_init ()
"command: command to execute (a '/' is automatically added if not "
"found at beginning of command)"),
"-buffer %(buffers_plugins_names) "
- "%(plugins_names)|" PLUGIN_CORE " %(plugins_commands)"
- " || %(plugins_names)|" PLUGIN_CORE " %(plugins_commands)",
+ "%(plugins_names)|" PLUGIN_CORE " %(plugins_commands:/)"
+ " || %(plugins_names)|" PLUGIN_CORE " %(plugins_commands:/)",
&command_command, NULL, NULL);
hook_command (
NULL, "cursor",