Skip to content

phildebrandt/dotfiles

 
 

Repository files navigation

Rockwood's dotfiles.

Based on Mathias's dotfiles

Installation

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/devel/dotfiles) The bootstrapper script will pull in the latest version (including submodules) and copy the files to your home folder. Vim plugins are managed via Plug.

git clone https://github.com/rockwood/dotfiles.git cd dotfiles source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

set -- -f; source bootstrap.sh

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing

Here’s an example ~/.path file that adds ~/utils to the $PATH:

export PATH="$HOME/utils:$PATH"

Add custom commands without creating a new fork

If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

Scripts

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

bash script/osx_setup

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

bash script/brew_setup

Install native apps with brew cask

You could also install native apps with brew cask:

script/cask_setup

Run ssh setup

This will walk through creating an ssh key

bash script/ssh_setup

Print bash colors

Helpful if you're tweeking your iTerm theme

bash script/colors

Author |

twitter/kevinrockwood | |---| | Kevin Rockwood |

| twitter/mathias | |---| | Mathias Bynens |

Thanks to…

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 67.1%
  • Shell 32.9%