New-Bamboo/Hermes — pull request #12 by leemachin (2012-11-10 17:13:17+00:00)
Title: Add comprehensive uninstall script

References: New-Bamboo/Hermes#10

Probably still needs some tweaking but most of the functionality is in there:

* Removes the Hermes dotfiles

* For new installs, removes any Homebrew dependencies that were installed during setup

* For old installs, prompts the user to confirm which Homebrew dependencies to uninstall (as we don't know if Hermes was responsible for installing them)

* Removes the launchctl daemon thingy for tmux

* Grabs the latest backup (in case there are multiple as a result of running the installer more than once) and extracts it in the home directory

* Finally deletes the .hermes directory itself

(I don't expect this to be pulled right away, it's more to get it checked out by more knowledgeable shell scripters)