Skip to content

Personalized settings for Terminal, Git, Sublime Text, etc.

Notifications You must be signed in to change notification settings

dannydb/dotfiles_v1

 
 

Repository files navigation

dotfiles

Personalized settings for Terminal, Git, Sublime Text, etc.

Installation

Clone repo

cd ~/where/i/put/repos/
git clone https://github.com/dannydb/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

Symlink the sublime directory to ~/Library/Application Support/Sublime Text 2/Packages/user

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/debelius.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="Danny DeBelius"
GIT_AUTHOR_EMAIL="[email protected]"
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"

Those who came before (and did the heavy lifting)

About

Personalized settings for Terminal, Git, Sublime Text, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 47.8%
  • Lua 26.0%
  • Vim Script 14.2%
  • JavaScript 12.0%