mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Merge pull request #1869 from lucasuyezu/env_logs
Adding testlog and prodlog in addition to devlog.
This commit is contained in:
commit
6e3e07fd90
3 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,8 @@ alias migrate='rake db:migrate && rake db:test:prepare'
|
||||||
alias sc='ruby script/console'
|
alias sc='ruby script/console'
|
||||||
alias sd='ruby script/server --debugger'
|
alias sd='ruby script/server --debugger'
|
||||||
alias devlog='tail -f log/development.log'
|
alias devlog='tail -f log/development.log'
|
||||||
|
alias testlog='tail -f log/test.log'
|
||||||
|
alias prodlog='tail -f log/production.log'
|
||||||
alias -g RET='RAILS_ENV=test'
|
alias -g RET='RAILS_ENV=test'
|
||||||
alias -g REP='RAILS_ENV=production'
|
alias -g REP='RAILS_ENV=production'
|
||||||
alias -g RED='RAILS_ENV=development'
|
alias -g RED='RAILS_ENV=development'
|
||||||
|
|
|
@ -19,6 +19,8 @@ alias ru='_rails_command runner'
|
||||||
alias rs='_rails_command server'
|
alias rs='_rails_command server'
|
||||||
alias rsd='_rails_command server --debugger'
|
alias rsd='_rails_command server --debugger'
|
||||||
alias devlog='tail -f log/development.log'
|
alias devlog='tail -f log/development.log'
|
||||||
|
alias testlog='tail -f log/test.log'
|
||||||
|
alias prodlog='tail -f log/production.log'
|
||||||
alias rdm='rake db:migrate'
|
alias rdm='rake db:migrate'
|
||||||
alias rdr='rake db:rollback'
|
alias rdr='rake db:rollback'
|
||||||
alias -g RET='RAILS_ENV=test'
|
alias -g RET='RAILS_ENV=test'
|
||||||
|
|
|
@ -21,6 +21,8 @@ alias ru='_rails_command runner'
|
||||||
alias rs='_rails_command server'
|
alias rs='_rails_command server'
|
||||||
alias rsd='_rails_command server --debugger'
|
alias rsd='_rails_command server --debugger'
|
||||||
alias devlog='tail -f log/development.log'
|
alias devlog='tail -f log/development.log'
|
||||||
|
alias testlog='tail -f log/test.log'
|
||||||
|
alias prodlog='tail -f log/production.log'
|
||||||
alias rdm='rake db:migrate'
|
alias rdm='rake db:migrate'
|
||||||
alias rdc='rake db:create'
|
alias rdc='rake db:create'
|
||||||
alias rdr='rake db:rollback'
|
alias rdr='rake db:rollback'
|
||||||
|
|
Loading…
Reference in a new issue