Skip to content

Instantly share code, notes, and snippets.

@yuxxxx

yuxxxx/.bashrc Secret

Created October 1, 2013 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuxxxx/f9404bde9d8ba2d4dc8a to your computer and use it in GitHub Desktop.
Save yuxxxx/f9404bde9d8ba2d4dc8a to your computer and use it in GitHub Desktop.
真面目にコマンドうつのめんどくさくなってきた某bundlerとRailsユーザーのコマンドエイリアス
#bundler、rake関連で頻出のやつ
alias bx='bundle exec'
alias brake='bundle exec rake'
alias brmg='bundle exec rake db:migrate'
alias brsd='bundle exec rake db:seed'
alias brrt='bundle exec rake routes'
alias brrtg='bundle exec rake routes | grep'
#Rails関連で頻出のやつ
alias brails='bundle exec rails'
alias brls='bundle exec rails server'
alias brlc='bundle exec rails console'
alias brld='bundle exec rails db'
alias brlg='bundle exec rails generate'
#テスト関連
alias brspec='bundle exec rspec'
alias bturnip='bundle exec rspec -r turnip/rspec'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment