These dotfiles contain configuration and installation for:
- XCode
- Homebrew
- ITerm2
- ZSH
- Dotfiles
- Sublime
- chruby and ruby-install
- Misc. Utilities
This setup is intended for Mac OSX ~> 10.9
Here is a step-by-step installation.
Install XCode through the Mac App Store.
Run:
xcode-select --install
Next, clone this Git repository to your $HOME directory and initialize/update
the submodules and finally hook everything up by running the install
script.
git clone git://github.com/martijnbleeker/dotfiles.git $HOME/dotfiles
cd $HOME/dotfiles && git submodule init && \
git submodule update --recursive && ./install
This should set up the symlinks from the dotfiles directory to your $HOME
directory, do not remove the dotfiles
directory.
Set osx defaults.
./.osx
Next, install Homebrew using the following command.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
After installing Homebrew, ensure permissions are correct by running the following.
sudo chown -R $(whoami):admin /usr/local
brew update
brew tap Homebrew/bundle
brew bundle
Download ITerm2, a Terminal replacement. Using color preset "Tango Dark" at the moment.
Under "(Global) Keys" add the following maps *:
alt + backspace
=Send Hex Code: 17
alt + <-
=Send Escape Sequence: b
alt + ->
=Send Escape Sequence: f
* = Use the actual keys, not the text above.
Install the following Sublime plugins through Sublime package control once it is installed.
- atom-eco
- file-icons
- language-dotenv
- language-haml
- language-rspec
- minimap
- omni-ruler
Install chruby by following the instructions on the project page.
ruby-install ruby-[VERSION] ~/.rubies/ruby-[VERSION]
vim +:PluginInstall