Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Loading