python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

shouldn't --completion for zsh also complete paths?

Open thiswillbeyourgithub opened this issue 1 year ago • 0 comments

Hi,

I was struggling to make -- --completion work with both my arguments and paths. For example I have a "--path" argument and I would like to autocomplete files paths instead of treating it as a flag.

The workaround I found was to do sed 's/compgen -W/compgen -f -W/g'

Is there something I'm missing or should I make a PR to add this '-f' by default?

thiswillbeyourgithub avatar Jul 19 '24 12:07 thiswillbeyourgithub