Last active
December 20, 2015 08:08
-
-
Save iannono/6097897 to your computer and use it in GitHub Desktop.
bash config
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=$HOME/local/bin:$PATH | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
#for git | |
BASH_NEWLINE="\n" | |
BASH_GRAY="\[\e[1;30m\]" | |
BASH_LIGHT_GREEN="\[\e[1;32m\]" | |
BASH_WHITE="\[\e[1;0m\]" | |
BASH_LIGHT_GRAY="\[\e[0;37m\]" | |
BASH_YELLOW="\[\e[0;33m\]" | |
function parse_git_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return; | |
echo "("${ref#refs/heads/}") "; | |
} | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
export PS1="\[\e[1;35m\](\t)@\w\n \[\e[0;32m\]\u\[\e[0;34m\] \[\e[0;33m\]\$(parse_git_branch)$ \[\e[0m\]" | |
### Added by the Heroku Toolbelt | |
export PATH="/usr/local/heroku/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment