Skip to content

Instantly share code, notes, and snippets.

@aresnick
Created January 28, 2015 16:41
Show Gist options
  • Save aresnick/41f0b5c34afee951ce8e to your computer and use it in GitHub Desktop.
Save aresnick/41f0b5c34afee951ce8e to your computer and use it in GitHub Desktop.
Recommended .bashrc for DGMD E-15
# Setting Sublime Text as our default editor
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
export EDITOR='subl -w'
# Telling our shell where to find the stuff we install with node
export NODE_PATH='/usr/local/lib/node_modules:/usr/local/lib/node'
export PATH=$NODE_PATH:$PATH
# Telling our shell where to find the stuff we install with Homebrew
export PATH=/usr/local/bin:$PATH
# Making our shell prompt a little prettier and git-aware
source /usr/local/git/contrib/completion/git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='[\u@mbp \w$(__git_ps1)]\$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment