Skip to content

njonsson/dotfiles

Repository files navigation

Nils's dotfiles

This repository contains my OS X shell configuration.

  1. Clone this repository.
  2. cd into it.
  3. Type rake --tasks.

You should see the following, where ~ is the path to your home directory:

rake                        # Perform all setup tasks without overwriting existing files
rake set_up                 # Perform all setup tasks without overwriting existing files
rake set_up:all             # Perform all setup tasks without overwriting existing files
rake set_up:all:force       # Perform all setup tasks, replacing files as necessary
rake set_up:dotfiles        # Set up dotfiles in ~
rake set_up:dotfiles:force  # Delete and recreate dotfiles in ~
rake set_up:fonts           # Set up fonts
rake set_up:fonts:force     # Set up fonts, replacing files as necessary

When you type rake, all the files in the root of this repository† are either symbolically linked or generated into your home directory, with a dot prepended to the filename of each link. For example, the gemrc in this repository gets symbolically linked to ~/.gemrc (unless there is already a .gemrc in your home directory). The vimrc.local.erb in this repository is used to generate ~/.vimrc.local (unless there is already a .vimrc.local in your home directory).

Leaving off the dots in these files makes them more convenient for me to edit and manage, and it allows me to ignore dotfiles that pertain to this repository rather than to my home directory.

Credits

The Mensch font was created by Robey Pointer. It is patched for use with Powerline.

The Solarized color schemes were created by Ethan Schoonover.


† Note: Rakefile and *.markdown are not treated as dotfiles.