Created
May 8, 2010 17:42
-
-
Save krohrbaugh/394675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="~/bin:/usr/local/bin:/usr/local/sbin/:/opt/local/bin:/opt/local/sbin:$PATH" | |
# prompt display data | |
function rvm_selected_ruby { | |
rb=$(~/.rvm/bin/rvm-prompt) | |
case "$rb" in | |
"system" ) | |
return | |
;; | |
* ) | |
echo "[$rb] " | |
;; | |
esac | |
} | |
function git_current_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo " ("${ref#refs/heads/}")" | |
} | |
# bash settings | |
export PS1="\$(rvm_selected_ruby)\w\$(git_current_branch)$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
# rvm settings | |
if [[ -s /Users/krohrbaugh/.rvm/scripts/rvm ]] ; then source /Users/krohrbaugh/.rvm/scripts/rvm ; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment