Based on Mathias's dotfiles
You can clone the repository wherever you want. (I like to keep it in ~/devel/dotfiles
) The bootstrapper script will
pull in the latest version (including submodules) and copy the files to your home folder. Vim plugins are managed via
Plug.
git clone https://github.com/kspohlman/dotfiles.git cd dotfiles source bootstrap.sh
To update, cd
into your local dotfiles
repository and then:
source bootstrap.sh
Alternatively, to update while avoiding the confirmation prompt:
set -- -f; source bootstrap.sh
If ~/.path
exists, it will be sourced along with the other files, before any feature testing
Here’s an example ~/.path
file that adds ~/utils
to the $PATH
:
export PATH="$HOME/utils:$PATH"
If ~/.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.
When setting up a new Mac, you may want to set some sensible OS X defaults:
bash script/osx_setup
When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):
bash script/brew_setup
You could also install native apps with brew cask
:
script/cask_setup
This will walk through creating an ssh key
bash script/ssh_setup
Helpful if you're tweeking your iTerm theme
bash script/colors
Kevin Rockwood |
Mathias Bynens |
-
@ptb and his OS X Lion Setup repository
-
Ben Alman and his dotfiles repository
-
Chris Gerke and his tutorial on creating an OS X SOE master image + Insta repository
-
Cãtãlin Mariş and his dotfiles repository
-
Gianni Chiappetta for sharing his amazing collection of dotfiles
-
Jan Moesen and his ancient
.bash_profile
+ shiny tilde repository -
Lauri ‘Lri’ Ranta for sharing loads of hidden preferences
-
Matijs Brinkhuis and his dotfiles repository
-
Nicolas Gallagher and his dotfiles repository
-
Tom Ryder and his dotfiles repository
-
anyone who contributed a patch or made a helpful suggestion