stopher / dotfiles

Personalized settings for Terminal, Git, TextMate, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Personalized settings for Terminal, Git, TextMate, etc.

Installation

Clone repo

cd ~/where/i/put/repos/
git clone https://github.com/desandro/dotfiles.git

Edit DOTFILES location in .bash_profile

export DOTFILES="$HOME/projects/dotfiles" # from
export DOTFILES="$HOME/where/i/put/repos" # to

Run bootstrap.sh

cd dotfiles
./bootstrap.sh

Updating

Run ./bootstrap.sh again any time you want to update your dotfiles.

Customize

Put all the other files you want sourced in dotfiles/custom.

For example, I have dotfiles/custom/desandro.bash that looks like

# PATH exports
PATH=$PATH:~/.gem/ruby/1.8/bin
export PATH

# Git credentials
# Not under version control to prevent people from accidentally
# committing with your details
GIT_AUTHOR_NAME="David DeSandro"
GIT_AUTHOR_EMAIL="desandro@example.com"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
# Set these credentials in ~/.gitconfig
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"

Prompt themes

I stole the prompt themes from bash-it. Try out a different one by changing .bash_profile:

source "$DOTFILES/themes/rainbowbrite.theme.bash"

These guys did all the hard work

About

Personalized settings for Terminal, Git, TextMate, etc.