The repository can be cloned in whichever location. The bootstrap script will [git] pull the latest version and overwrite the files in your homefolder.
git clone --recursive https://github.com/pjan/osx-dotfiles.git && cd osx-dotfiles && source bootstrap.sh
To update, cd
into the local osx-dotfiles
folder and execute:
source bootstrap.sh
Any confirmation prompt can be avoided by executing:
set -- -f; source bootstrap.sh
~/.path
gets sourced along the others (before). It can be used to set the path, without risking it to be overwritten when running the update.
~/.extra
gets sourced along the others (after). It can be used to add custom commands, without risking them to be lost when running the update.
Add the same time, it can be used to override aliases, functions, settings from the repository.
To load a new set of (better) defaults after setting up your Mac, update the config file in your home folder, then execute:
./.setdefaults
When setting up your mac, you can automatically update & add binaries, and install a set of standard applications by executing:
./.brew
Is welcome!
- Ben Alman for his dotfiles repo
- Ethan Schoonover for his solarized color scheme
- Lauri Ranta for instructing me about hidden preferences
- Mathias Bynens for his extensive dotfiles repo
- Matijs Brinkhuis for his dotfiles repo
- Tom Ryder for his dotfiles repo