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
Every script I work on has some arg that is so dynamic that it can't be completed, i.e., where no choices can be set, nor any custom completer. It's annoying when such args trigger bash filename completion. How can I prevent that?
The weird thing is, I feel like this was solved at some point... or at least, I feel like this hasn't always been a problem. Anyone have any ideas?
The text was updated successfully, but these errors were encountered:
I have the same problem...
I tried to create a completer that return an empty list but argcomplete always using bash completer as fallback when the complter return no options...
Okay i found it, after some digging the default bash fallback can be disabled in the register-python-argcomplete step: eval $(register-python-argcomplete --no-defaults my-script)
Every script I work on has some arg that is so dynamic that it can't be completed, i.e., where no
choices
can be set, nor any custom completer. It's annoying when such args trigger bash filename completion. How can I prevent that?The weird thing is, I feel like this was solved at some point... or at least, I feel like this hasn't always been a problem. Anyone have any ideas?
The text was updated successfully, but these errors were encountered: