No description, website, or topics provided.
Shell Vim script Ruby AppleScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 92 commits ahead, 536 commits behind henrik:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bash
extras
githooks
vim
.gitignore
README.markdown
Rakefile
ackrc
bash_profile
gdbinit
gemrc
gitconfig
gitignore
gvimrc
inputrc
irbrc
pryrc
railsrc
rspec
rubyrc
tmux-osx.conf
tmux.conf
vimrc

README.markdown

My dotfiles

Install

Checkout this repo into ~/.dotfiles. Then install the dotfiles:

rake install

This rake task will not replace existing files, but it will replace existing symlinks.

The dotfiles will be symlinked, e.g. ~/.bash_profile symlinked to ~/.dotfiles/bash_profile.

<.replace>

If e.g. ~/.dotfiles/gitconfig contains <.replace github-token> then

  • that bit will be replaced with the contents of ~/.github-token
  • the resulting file will be written to ~/.dotfiles/gitconfig directly, not symlinked

So if you want to make changes to that file, make them in ~/dotfiles/gitconfig and then run rake install again.

Changes to symlinked files without <.replace> bits do not require a rake install on every change as they're symlinked.

Vim

I'm assuming MacVim (brew install macvim) and at least Vim 7.

Vim plugins are each their own directory under vim/bundles thanks to Vundle. They're listed in vim/config/plugins.vim.

Bootstrap by cloning Vundle itself:

git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

Then tell Vundle to install the plugins:

vim +BundleInstall +qall

The Command-T plugin needs to be compiled:

cd ~/.vim/bundle/command-t
rvm system  # If you use rvm
rake make

Extras

The extras directory contains additional configuration files that are not dotfiles:

  • VibrantInk.itermcolors is a colorscheme for iTerm2 (source).

  • On a new Mac, run ~/.dotfiles/extras/os_x_defaults.sh in the Terminal to change some silly defaults.

Apps and utilities

* means installed through the App Store.

For development, not endorsed: