adaszko / complgen

Declarative bash/fish/zsh completions without writing shell scripts
Apache License 2.0
221 stars 7 forks source link

File completion #12

Closed adaszko closed 1 year ago

adaszko commented 1 year ago

complgen should support completing file name arguments. It should be possible to specify in the grammar which positional arguments are to be completed as a file name.

Each shell seems be doing it differently and we need to be frugal in weeding through the file system as we may easily freeze the shell for seconds.