You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: