Update README
This commit is contained in:
parent
48112e4487
commit
c62737598c
1 changed files with 2 additions and 16 deletions
18
README.md
18
README.md
|
@ -61,7 +61,7 @@ updated once it's placed in the proper location (the Dotbot repository can be
|
||||||
updated independently).
|
updated independently).
|
||||||
|
|
||||||
An example bootstrap install shell script is given in
|
An example bootstrap install shell script is given in
|
||||||
`tools/git-submodule/install` (and included below). The script assumes that the
|
[tools/git-submodule/install][git-install]. The script assumes that the
|
||||||
configuration is located in `install.conf.json` and Dotbot is located in
|
configuration is located in `install.conf.json` and Dotbot is located in
|
||||||
`dotbot`. The script automatically makes sure that the correct version of
|
`dotbot`. The script automatically makes sure that the correct version of
|
||||||
Dotbot is checked out in the submodule.
|
Dotbot is checked out in the submodule.
|
||||||
|
@ -69,21 +69,6 @@ Dotbot is checked out in the submodule.
|
||||||
Adapting the bootstrap script for different situations (such as using a
|
Adapting the bootstrap script for different situations (such as using a
|
||||||
different VCS) is fairly straightforward.
|
different VCS) is fairly straightforward.
|
||||||
|
|
||||||
```bash
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
CONFIG="install.conf.json"
|
|
||||||
DOTBOT_DIR="dotbot"
|
|
||||||
|
|
||||||
DOTBOT_BIN="bin/dotbot"
|
|
||||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
||||||
|
|
||||||
cd "${BASEDIR}"
|
|
||||||
git submodule update --init --recursive ${DOTBOT_DIR}
|
|
||||||
|
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" $@
|
|
||||||
```
|
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
@ -138,4 +123,5 @@ Copyright (c) 2014 Anish Athalye. Released under the MIT License. See
|
||||||
[LICENSE.md][license] for details.
|
[LICENSE.md][license] for details.
|
||||||
|
|
||||||
[template]: https://github.com/anishathalye/dotfiles_template
|
[template]: https://github.com/anishathalye/dotfiles_template
|
||||||
|
[git-install]: tools/git-submodule/install
|
||||||
[license]: LICENSE.md
|
[license]: LICENSE.md
|
||||||
|
|
Loading…
Reference in a new issue