Skip to content

Instantly share code, notes, and snippets.

@spannerinworks
Created March 20, 2014 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spannerinworks/9666776 to your computer and use it in GitHub Desktop.
Save spannerinworks/9666776 to your computer and use it in GitHub Desktop.
export HOMEBREW_GITHUB_API_TOKEN=0123456789abcdef
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH="~/scripts:$PATH"
if [ ! -z "$PS1" ] ; then
source ~/scripts/git-prompt.sh
RVM_PROMPT="\[\033[1;36m\]\$(rvm-prompt.sh)\[\033[0m\]"
GIT_PROMPT="\[\033[1;33m\]\$(__git_ps1 '[%s] ')\[\033[0m\]"
PS1="$RVM_PROMPT$GIT_PROMPT$PS1"
alias be="bundle exec"
source ~/scripts/git-completion.bash
fi
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment