From 1145d9f188db382fd0227a08a048386d9d9e00df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 10 Jun 2023 20:30:52 +0200 Subject: trigger: add completions "trigger_names_disabled" and "trigger_names_enabled" They are used in completion of commands `/trigger disable` and `/trigger enable`. --- src/plugins/trigger/trigger-command.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/trigger/trigger-command.c') 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" -- cgit v1.2.3