Skip to content

Instantly share code, notes, and snippets.

@dangerousbeans
Created October 16, 2011 09:56
Show Gist options
  • Save dangerousbeans/1290720 to your computer and use it in GitHub Desktop.
Save dangerousbeans/1290720 to your computer and use it in GitHub Desktop.
OSX .bash_profile
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
# MacPorts Installer addition on 2011-05-12_at_15:42:16: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
export PGDATA=/usr/local/pgsql/data
export PATH=${PATH}:/usr/local/pgsql/bin
test -r /sw/bin/init.sh && . /sw/bin/init.sh
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
alias brails='rake db:drop && rake db:create:all && rake db:migrate && rake db:seed:load && rake db:seed'
# Git autocomplete
source ~/git-completion.bash
alias gco='git co'
alias gci='git ci'
alias grb='git rb'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment