kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.41k stars 133 forks source link

Need some help figuring out how to disable this #501

Open andersfylling opened 1 month ago

andersfylling commented 1 month ago

Hello! It seems a package on my system has enabled this for me, which I did not expect. My current case is that whenever I'm using a program and trying to auto complete some file path it jumps into argcomplete and breaks down: image

Any easy way to just disable this while I work on patching whatever packages caused this issue? This isn't really an issue with argparse(?), just hoping there's some insight in the community to help me temporarily bypass this :smile:

Terminal is zsh flavor.

evanunderscore commented 3 weeks ago

Depending on exactly how the global completion script has been installed, you might be able to restore the default completer with compdef _default -default-. You'll likely have to rerun this every time you open the shell.