Added option for skipping questions in installer.

The install script now allows to specify one of the following options:
* --all
* --none

Both result in any questions being skipped. This is convenient when running the install script from a script, or a provisioning tool like Ansible.
This commit is contained in:
Nils Winkler
2015-03-11 13:08:14 +01:00
parent 87ba4761b5
commit f3ca9f53d3
2 changed files with 57 additions and 39 deletions

View File

@@ -16,6 +16,13 @@ Includes autocompletion, themes, aliases, custom functions, a few stolen pieces
The install script will also prompt you asking if you use [Jekyll](https://github.com/mojombo/jekyll).
This is to set up the `.jekyllconfig` file, which stores info necessary to use the Jekyll plugin.
**INSTALL OPTIONS:**
The install script can take the following options:
* `--all`: Enable all aliases, plugins and completions.
* `--none`: Don't enable any aliases, plugins or completions.
If none of these parameters is provided, the install script will ask the user.
## Help Screens