Skip to content

Instantly share code, notes, and snippets.

@rosscooperman
Created August 15, 2014 16:27
Show Gist options
  • Save rosscooperman/334e926e763836dc401d to your computer and use it in GitHub Desktop.
Save rosscooperman/334e926e763836dc401d to your computer and use it in GitHub Desktop.
if [ -f ~/.profile ]; then
source ~/.profile
fi
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
if [ -f `brew --prefix`/etc/bash_completion ]; then
source `brew --prefix`/etc/bash_completion
fi
WHITE="\[\033[0;37m\]"
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;36m\]"
RESET="\[\033[0m\]"
PS1="$WHITE\h $RED\w$YELLOW\$(__git_ps1)$GREEN\$$RESET "
export EDITOR=vim
export position=before
export PATH=/usr/local/bin:$PATH
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
# tell ls to be colourful
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# tell grep to highlight matches
export GREP_OPTIONS='--color=auto'
# alias
alias ls='ls -FGal'
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias gemset='rvm gemset'
alias gs='git status'
alias gd='git diff'
alias gc='git checkout'
alias gitx='gitx --all'
alias guard='bundle exec guard'
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export PATH=/Users/ross/bin:$PATH
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment