mathias's readme is awesome. go read it.
This repo is mostly for me but you're welcome to make suggestions. Mathias's is the project to fork. I'm mostly catching up to him, @cowboy, and @gf3.
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 ~/
I do something nice with my PATH there:
# PATH like a bawss
PATH=/opt/local/bin
PATH=$PATH:/opt/local/sbin
PATH=$PATH:/bin
PATH=$PATH:~/.rvm/bin
PATH=$PATH:~/code/git-friendly
# ...
export PATH…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:
./.osxI 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 intialization
-
.git -
.gitattributes -
.gitconfig -
.gitignore -
.inputrc- config for bash readline
(Special thanks to Adding Sublime Text 2 Settings, Themes, and Plugins to Dotfiles)
For each machine you want to config, make sure you: Move these folders from ~/Library/Application Support/Sublime Text 2 to the Sublime Text 2 directory in dotfiles.
cd ~/dotfiles/Sublime\ Text\ 2
mv ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages .
mv ~/Library/Application\ Support/Sublime\ Text\ 2/Packages .
mv ~/Library/Application\ Support/Sublime\ Text\ 2/Pristine\ Packages .
Next create symbolic links in the ~/LibraryApplication Support/Sublime\ Text\ 2 directory to the new location of the settings directories.
cd ~/Library/Application\ Support/Sublime\ Text\ 2
ln -s ~/dotfiles/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages
ln -s ~/dotfiles/Sublime\ Text\ 2/Packages ./Packages
ln -s ~/dotfiles/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages
If installing for the first time...
git clone https://github.com/indefinit/dotfiles.git && cd dotfiles && ./install-deps.shthen
./synch.shTo update later on, just run the sync again.