Skip to content

Commit

Permalink
feat: file completion if no options are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jan 16, 2023
1 parent ed51b14 commit d64c5cc
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 @@ -315,7 +315,7 @@ compinit;\n`
if (f.options) {
flagCompValue += `:${f.name} options:(${f.options?.join(' ')})"`
} else {
flagCompValue += ':"'
flagCompValue += ':file:_files"'
}
} else {
if (f.multiple) {
Expand Down

0 comments on commit d64c5cc

Please sign in to comment.