revans/bash-it — pull request #126 by six8 (2012-05-07 20:54:15+00:00)
Title: More robust installer with ability to save install preferences

First, the existing install.sh is broken so I got frustrated re-running the installer and having to answer a few dozen questions. Aside from fixing install.sh I thought it best to make it so you don't have to answer all those questions for repeat installs or updates. So now, install.sh does this:

```
# List options
install.sh --help

# Install with settings from config (you have the option to save the config at the end of the install)
install.sh --config pref.ini

# Install from config without being prompted
install.sh --config pref.ini --no-prompt
```

install.sh can also now be ran multiple times without trying to re-overwrite .bash_profile or the jekyll config which is good if you want to change the plugins you have installed.

I would have done this in bash, but that would be a real pain in the ass and all systems that bash-it runs on already has some version of Python. I tried to stay as compatible as possible with older Python versions.