Set zsh as your login shell:
chsh -s $(which zsh)
Clone onto your laptop in $HOME/Dev
:
git clone git://github.com/scharrier/dotfiles.git
Install rcm:
brew tap thoughtbot/formulae
brew install rcm
Install the dotfiles:
env RCRC=$HOME/Dev/dotfiles/rcrc rcup
This command will create symlinks for config files in your home directory.
Setting the RCRC
environment variable tells rcup
to use standard
configuration options:
- Exclude the
README.md
andLICENSE
files, which are part of thedotfiles
repository but do not need to be symlinked in. - Give precedence to personal overrides which by default are placed in
~/dotfiles-local
You can safely run rcup
multiple times to update:
rcup
Put your customizations in dotfiles appended with .local
:
~/.aliases.local
~/.git_template.local/*
~/.gitconfig.local
~/.gvimrc.local
~/.psqlrc.local
(we supply a blank.psqlrc.local
to preventpsql
from throwing an error, but you should overwrite the file with your own copy)~/.tmux.conf.local
~/.vimrc.local
~/.vimrc.bundles.local
~/.zshenv.local
~/.zshrc.local
~/.zsh/configs/*
Thank you, contributors! Also, thank you to Corey Haines, Gary Bernhardt, and others for sharing your dotfiles and other shell scripts from which we derived inspiration for items in this project.
dotfiles is copyright © 2009-2020 thoughtbot. It is free software, and may be
redistributed under the terms specified in the LICENSE
file.
dotfiles is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.
We love open source software! See our other projects. We are available for hire.