Created
January 6, 2011 20:27
-
-
Save paulbjensen/768511 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 [[ -s /Users/paulbjensen/.rvm/scripts/rvm ]] ; then source /Users/paulbjensen/.rvm/scripts/rvm ; fi | |
# Bundle Aliases | |
alias bi='bundle install' | |
alias be='bundle exec' | |
# Git Aliases | |
alias ga='git add' | |
alias grm='git rm' | |
alias grh='git reset --hard' | |
alias gst='git status' | |
alias gco='git commit' | |
alias gch='git checkout' | |
alias gbr='git branch' | |
alias gcl='git clone' | |
alias gsh='git stash' | |
alias gpl='git pull' | |
alias gpu='git push' | |
alias gx='gitx' | |
# Rake Aliases | |
alias rdd='rake db:drop' | |
alias rdc='rake db:create' | |
alias rdm='rake db:migrate' | |
alias rdtp='rake db:test:prepare' | |
alias rdsl='rake db:schema:load' | |
alias rs='rake spec' | |
alias rsr='rake spec:rcov' | |
alias rf='rake cucumber' | |
alias rr='rake routes' | |
# Rails Aliases | |
alias ss='script/server' | |
alias sc='script/console' | |
alias sg='script/generate' | |
alias sd='script/destroy' | |
alias spi='script/plugin install' | |
alias sgc='script/generate controller' | |
alias sgm='script/generate model' | |
alias sgrc='script/generate rspec_controller' | |
alias sgrm='script/generate rspec_model' | |
alias tm='mate .' | |
# MongoDB alias | |
alias mongodb='launchctl load -w /usr/local/Cellar/mongodb/1.2.2-x86_64/org.mongodb.mongod.plist' | |
# capistrano tasks | |
alias cde='cap deploy' | |
alias cdm='cap deploy:migrations' | |
alias csde='cap staging deploy' | |
alias csdm='cap staging deploy:migrations' | |
alias cpde='cap production deploy' | |
alias cpdm='cap production deploy:migrations' | |
## | |
# Your previous /Users/paulbjensen/.bash_profile file was backed up as /Users/paulbjensen/.bash_profile.macports-saved_2010-04-07_at_22:01:48 | |
## | |
# MacPorts Installer addition on 2010-04-07_at_22:01:48: 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment