if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi

export CLICOLOR=1

xcode_path="$(xcode-select -p)"
source "$xcode_path/usr/share/git-core/git-completion.bash"
source "$xcode_path/usr/share/git-core/git-prompt.sh"

GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWCOLORHINTS=true
GIT_PS1_UNTRACKEDFILES=true

magenta="$(tput setaf 5)"
cyan="$(tput setaf 6)"
yellow="$(tput setaf 3)"
reset="$(tput sgr0)"

PROMPT_COMMAND='__git_ps1 "\[$yellow\]\u@\[$cyan\]\h:\[$magenta\]\W\[$reset\]" "\\\$ "'

alias server='python -m SimpleHTTPServer'
