Created
September 13, 2014 20:52
-
-
Save dgb/3313651640acf97ecc10 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
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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment