Skip to content

Commit

Permalink
fix: skip hidden commands
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jan 20, 2023
1 parent 7e14bd6 commit 264995d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/autocomplete/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ compinit;\n`

// TODO:
// * include command aliases
// * ignore hidden commands
const commands = this.config.commands
.filter(c => !c.hidden)
.map(c=>{
c.description = sanitizeDescription(c.summary || c.description || '')
return c
Expand Down

0 comments on commit 264995d

Please sign in to comment.