diff options
Diffstat (limited to 'src/command/cmd_ac.c')
-rw-r--r-- | src/command/cmd_ac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index e3661cac..9dc855de 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -961,6 +961,8 @@ cmd_ac_init(void) plugins_ac = autocomplete_new(); autocomplete_add(plugins_ac, "install"); + autocomplete_add(plugins_ac, "update"); + autocomplete_add(plugins_ac, "uninstall"); autocomplete_add(plugins_ac, "load"); autocomplete_add(plugins_ac, "unload"); autocomplete_add(plugins_ac, "reload"); @@ -2754,6 +2756,10 @@ _plugins_autocomplete(ProfWin* window, const char* const input, gboolean previou return cmd_ac_complete_filepath(input, "/plugins install", previous); } + if (strncmp(input, "/plugins update ", 16) == 0) { + return cmd_ac_complete_filepath(input, "/plugins update", previous); + } + if (strncmp(input, "/plugins load ", 14) == 0) { if (plugins_load_ac == NULL) { plugins_load_ac = autocomplete_new(); |