1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00

trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (closes #1580)

${tg_trigger_name} is replaced by the trigger name in these command strings:

- description
- arguments
- description of arguments
- completion
This commit is contained in:
Sébastien Helleu
2020-11-14 09:32:24 +01:00
parent b626df72fb
commit b9c8569422
22 changed files with 124 additions and 95 deletions
+2 -1
View File
@@ -1193,7 +1193,8 @@ trigger_command_init ()
" print: buffer, tags, message, strip colors\n"
" command: command (required), description, arguments, "
"description of arguments, completion (all arguments except command "
"are evaluated, see /help eval)\n"
"are evaluated, \"${tg_trigger_name}\" is replaced by the trigger "
"name, see /help eval)\n"
" command_run: command(s) (required)\n"
" timer: interval (required), align on second, max calls\n"
" config: name(s) of option (required)\n"