diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-06-10 20:30:52 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-06-10 20:30:52 +0200 |
commit | 1145d9f188db382fd0227a08a048386d9d9e00df (patch) | |
tree | 389f2a2b2dc1bf6643d28c5702787cb4d37898ac /src/plugins/trigger/trigger-command.c | |
parent | 5de7152383c1d04b38dce9e52a67a3c1032ca8ad (diff) | |
download | weechat-1145d9f188db382fd0227a08a048386d9d9e00df.zip |
trigger: add completions "trigger_names_disabled" and "trigger_names_enabled"
They are used in completion of commands `/trigger disable` and
`/trigger enable`.
Diffstat (limited to 'src/plugins/trigger/trigger-command.c')
-rw-r--r-- | src/plugins/trigger/trigger-command.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c index 2387a9b27..b1c0ff575 100644 --- a/src/plugins/trigger/trigger-command.c +++ b/src/plugins/trigger/trigger-command.c @@ -1314,8 +1314,9 @@ trigger_command_init () " || input|output|recreate %(trigger_names)" " || set %(trigger_names) %(trigger_options)|name %(trigger_option_value)" " || rename|copy %(trigger_names) %(trigger_names)" - " || enable|disable|toggle|restart|del %(trigger_names)|-all " - "%(trigger_names)|%*" + " || enable %(trigger_names_disabled)|-all %(trigger_names_disabled)|%*" + " || disable %(trigger_names_enabled)|-all %(trigger_names_enabled)|%*" + " || toggle|restart|del %(trigger_names)|-all %(trigger_names)|%*" " || show %(trigger_names)" " || restore %(trigger_names_default)|%*" " || default" |