Skip to content

Latest commit

 

History

History
65 lines (39 loc) · 2.04 KB

README.md

File metadata and controls

65 lines (39 loc) · 2.04 KB

osx-dotfiles

Installation

Using Git and the bootstrap script

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

Custom path modifications

~/.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.

Custom commands

~/.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.

OS X defaults

To load a new set of (better) defaults after setting up your Mac, update the config file in your home folder, then execute:

./.setdefaults

Binaries & applications

When setting up your mac, you can automatically update & add binaries, and install a set of standard applications by executing:

./.brew

Feedback

Is welcome!

Credits