/dotfiles

My configuration files and settings used across all my macOS platforms.

Primary LanguageShellMIT LicenseMIT

Michael's dotfiles

Installation

Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/dotfiles) The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/michaelgale/dotfiles.git && cd dotfiles && source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Git-free install

To install these dotfiles without Git:

cd; curl -#L https://github.com/michaelgale/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh,.osx,LICENSE-MIT.txt}

To update later on, just run that command again.

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing (such as [detecting which version of ls is being used] takes place.

Here’s an example ~/.path file that adds /usr/local/bin to the $PATH:

export PATH="/usr/local/bin:$PATH"

Sensible macOS defaults

When setting up a new Mac, you may want to set some sensible macOS defaults:

./.macos

Atom editor settings

Put the Atom editor .atom settings folder in ~/dotfiles:

# move .atom to dotfiles
mv ~/.atom/ ~/.dotfiles/

# create a symlink to dotfiles
ln -s ~/dotfiles/.atom/ ~/.atom

Thanks to…