argcomplete icon indicating copy to clipboard operation
argcomplete copied to clipboard

/etc/bash_completion.d/python-argcomplete.py should be removed on uninstall

Open kislyuk opened this issue 11 years ago • 3 comments

Probably not possible in general but maybe print a message asking the user to do that manually.

kislyuk avatar Jul 04 '13 21:07 kislyuk

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).

AvdN avatar Jul 27 '13 05:07 AvdN

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.

agraubert avatar Aug 24 '17 15:08 agraubert

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.

evanunderscore avatar Aug 28 '17 02:08 evanunderscore