Shamelessly jacked from @paulirish
My basic setup is captured in install-deps.sh
which adds homebrew, z, nave, etc.
Toss it into a file called .extra
which you do not commit to this repo and just keep in your ~/
This is where i keep my git username config
# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="Chris Lyons"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="chrislyons88@gmail.com"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
…is really important. even for these files.
Install Dotfiles Syntax Highlighting via Sublime Text 2 Package Control
When setting up a new Mac, you may want to set some sensible OS X defaults:
./.osx
I recommend getting a .jshintrc
and .editorconfig
defined for all your projects.
.ackrc
- for ack (better than grep).vimrc
,.vim
- vim config, obv.
.aliases
.bash_profile
.bash_prompt
.bashrc
.exports
.functions
.extra
- not included, explained above
install-deps.sh
- random apps i need installed.osx
- run on a fresh osx machine.brew
- homebrew initializationsync.sh
- syncs dotfiles to ~
-
.git
-
.gitattributes
-
.gitconfig
-
.gitignore
-
.inputrc
- config for bash readline
git clone https://github.com/chrislyons88/dotfiles.git && cd dotfiles && ./sync.sh
./.osx
sudo source install-deps.sh
./.brew
sudo touch .extra && v .extra
# add in git creds in .extra
# config path?
To update later on, just run the sync again.
I personally have aliases set up for updating my dotfiles
# opens all dotfiles directory in Sublime
ea
# commits and pushes to github, then runs sync.sh
ua