Manage my dotfiles.
- Modular organization
git clone {this repo}
cd path/to/this/repo
chmod +x install.sh
./install.shA layer corresponds to a folder that contains a install.sh in its root
directory.
Each install.sh will be executed, and should manage and install dotfiles in
its folder.
- Create a new folder (such as
hello) inside this repo. And change directory to the new folder (cd hello). - Create the
install.sh. For example:echo "echo hello" > install.sh - Add the new
hellolayer to the root install.sh. For example:layers=( ... "hello" )