✨ start using dotbot
This commit is contained in:
parent
544fea4976
commit
5d4d6e1a68
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[submodule "dotbot"]
|
||||
path = dotbot
|
||||
url = https://github.com/anishathalye/dotbot
|
||||
ignore = dirty
|
13
README.md
13
README.md
|
@ -2,6 +2,17 @@
|
|||
|
||||
Welcome to my metaphorical bookshelf of scripts and configurations that I piece together over time. In other words it's my dotfiles setup. [Learn more about what dotfiles are here](http://iamnotmyself.com/2020/11/10/your-terminal-and-you-dotfiles/).
|
||||
|
||||
## Installation
|
||||
|
||||
1. `git clone` this project.
|
||||
1. Run `./install` to install the dotfiles (configured in `install.conf.yaml`).
|
||||
|
||||
See also:
|
||||
|
||||
- [anishathalye/dotbot](https://github.com/anishathalye/dotbot)
|
||||
|
||||
## License
|
||||
|
||||
The contents within this repo is released under the [NPLv5+ license](LICENSE.txt).
|
||||
The `dotbot/` folder is licensed under the [MIT license](dotbot/LICENSE.md).
|
||||
|
||||
Everything else within this repo is released under the [NPLv5+ license](LICENSE.txt).
|
||||
|
|
1
dotbot
Submodule
1
dotbot
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ac5793ceb58863d23427d21597634d3dcf66f9ac
|
15
install
Executable file
15
install
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
CONFIG="install.conf.yaml"
|
||||
DOTBOT_DIR="dotbot"
|
||||
|
||||
DOTBOT_BIN="bin/dotbot"
|
||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
cd "${BASEDIR}"
|
||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
0
install.conf.yaml
Normal file
0
install.conf.yaml
Normal file
Loading…
Reference in a new issue