Open kislyuk opened 11 years ago
I don't find that an appropriate action, as that script was added by hand.
Programs that have "# PYTHON_ARGCOMPLETE_OK" should handle a failing "import argcomplete" gracefully (I will provide an example for the documentation).
At least provide a deactivate-global-python-argcomplete
script to take care of remaining cleanup tasks. I was surprised to find that after uninstalling, argcomplete was still lingering around and that I had to manually remove it.
A deactivate script would have a hard time knowing where you told it to install. Perhaps the activate script should print a message about what it did and what your responsibility is if you wish to undo it.
Probably not possible in general but maybe print a message asking the user to do that manually.