Skip to content

Instantly share code, notes, and snippets.

@JanDintel
Created November 5, 2013 12:06
Show Gist options
  • Save JanDintel/7318101 to your computer and use it in GitHub Desktop.
Save JanDintel/7318101 to your computer and use it in GitHub Desktop.
Configure oh-my-zsh ENV file with Rails aliasses
# ~/.zshrc
alias migratetestdb='rake db:migrate RAILS_ENV=test'
alias droptestdb='rake db:drop RAILS_ENV=test; rake db:create RAILS_ENV=test; rake db:migrate RAILS_ENV=test'
alias resettestdb='rake db:reset RAILS_ENV=test'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment