Created
September 11, 2013 04:24
-
-
Save jules27/6519331 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Enable directory and file color highlighting | |
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagacad | |
| # Common aliases | |
| alias rm='rm -i' | |
| alias ll='ls -l' | |
| alias la='ls -a' | |
| alias vi='vim' | |
| PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
| # Adding this first for homebrew | |
| export PATH=/usr/local/bin:$PATH | |
| # Git bash | |
| source ~/.git-completion.bash | |
| __git_ps1 () | |
| { | |
| local b="$(git symbolic-ref HEAD 2>/dev/null)"; | |
| if [ -n "$b" ]; then | |
| printf " (%s)" "${b##refs/heads/}"; | |
| fi | |
| } | |
| PS1='\h:\W$(__git_ps1 " (%s)")\$ ' | |
| export PS1='\[\033[01;33m\]\h\[\033[01;31m\] \W$(__git_ps1 " (%s)") \$\[\033[00m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment