/dotfiles-mattstauffer

Simplified version of Dotfiles for when using Oh My Zsh

Primary LanguageVim scriptGNU General Public License v2.0GPL-2.0

Matt’s dotfiles (from Mathias and Paul Irish) adapted for ZSH

Installation

Using Git and the bootstrap script

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

git clone https://github.com/mattstauffer/ohmyzsh-dotfiles.git

The bootstrap.sh file currently doesn't work, so just copy any of the dotfiles you like into your home directory.

Git-free install

To install these dotfiles without Git:

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

To update later on, just run that command again.

Specify the $PATH

If ~/.mix-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 ~/.mix-path file that adds ~/utils to the $PATH:

export PATH="$HOME/utils:$PATH"

Add custom commands without creating a new fork

If ~/.mix-extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

brew bundle .brewfile

Original (Bash dotfiles) Author

twitter/mathias
Mathias Bynens

Thanks to…