Skip to content

Instantly share code, notes, and snippets.

@tanelsuurhans
Created December 30, 2013 14:22
Show Gist options
  • Save tanelsuurhans/8182600 to your computer and use it in GitHub Desktop.
Save tanelsuurhans/8182600 to your computer and use it in GitHub Desktop.
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
[[ -s "/Users/tanel/.rvm/scripts/rvm" ]] && source "/Users/tanel/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
[[ -r $rvm_path/scripts/completion ]] && . $rvm_path/scripts/completion # for RVM completion
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then source `brew --prefix`/etc/bash_completion.d/git-completion.bash; fi # for Git completion
export PS1="\[\033[01;34m\]\$(~/.rvm/bin/rvm-prompt) \[\033[01;32m\]\w\[\033[00;33m\]\$(__git_ps1 \" (%s)\") \[\033[01;36m\]\$\[\033[00m\] "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment