This is a collection of dotfiles and scripts I use for customizing OS X to my liking and setting up the software development tools I use on a day-to-day basis. They should be cloned to your home directory so that the path is ~/dotfiles/. The included setup script creates symlinks from your home directory to the files which are located in ~/dotfiles/.
The setup script is smart enough to back up your existing dotfiles into a ~/dotfiles_old/ directory if you already have any dotfiles of the same name as the dotfile symlinks being created in your home directory.
So, to recap, the install script will:
- back up any existing dotfiles in your home directory to
~/dotfiles_old/ - create symlinks to the dotfiles in
~/dotfiles/in your home directory
$ sudo apt-get install git
$ git clone https://github.com/mbchoa/dotfiles.git ~/dotfiles
$ cd ~/dotfiles
$ cd install
$ ./setup.sh
$ ./linux.sh
$ ./brew.sh
$ ./mise.sh
$ ./node.shAlternatively, you can install this into ~/dotfiles remotely without Git using curl:
sh -c "`curl -fsSL https://raw.github.com/mbchoa/dotfiles/master/remote-setup.sh`"Or, using wget:
sh -c "`wget -O - --no-check-certificate https://raw.githubusercontent.com/mbchoa/dotfiles/master/remote-setup.sh`"The dotfiles can be easily extended to suit additional local requirements by using the following files:
If the ~/.gitconfig.local file exists, it will be automatically
included after the configurations from ~/.gitconfig, thus, allowing
its content to overwrite or add to the existing git configurations.
Note: Use ~/.gitconfig.local to store sensitive information such
as the git user credentials, e.g.:
[user]
name = Michael-Bryant Choa
email = [email protected]I actively watch the following repositories and add the best changes to this repository:
- GitHub ❤ ~/
- Nick's dotfiles
- Oscar's dotfiles
- Mathias’s dotfiles
- Nicolas Gallagher’s dotfiles
- Cătălin’s dotfiles
- Paul's dotfiles
- Jacob Gillespie’s dotfiles
The code is available under the MIT license.