Skip to content

Instantly share code, notes, and snippets.

@jseabold
Last active October 6, 2015 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jseabold/2989276 to your computer and use it in GitHub Desktop.
Save jseabold/2989276 to your computer and use it in GitHub Desktop.
rmpy delete python packages from dist-packages
function rmpy {
if [ -z "$1" ]; then
echo "Aren't you glad I didn't delete everything?";
else
sudo rm -rf /usr/local/lib/python2.7/dist-packages/$1*
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment