diff --git a/completion.go b/completion.go index 95104ea..3318523 100644 --- a/completion.go +++ b/completion.go @@ -63,6 +63,10 @@ func AutocompleteAppAction(c *Context) error { // transpose registered commands and flags to posener/complete equivalence for _, command := range c.App.Commands { + // skip the completion commands itself + if command == shellAutoCompleteInstallCommand { + continue + } subCmd := command.convertToPosenerCompleteCommand(c) if command.Hidden == nil || !command.Hidden() {