mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
merge
This commit is contained in:
commit
9fbc06c347
1 changed files with 10 additions and 7 deletions
|
|
@ -8,22 +8,25 @@ function _rails_command () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias -g RED='RAILS_ENV=development'
|
||||||
|
alias -g REP='RAILS_ENV=production'
|
||||||
|
alias -g RET='RAILS_ENV=test'
|
||||||
|
|
||||||
|
alias devlog='tail -f log/development.log'
|
||||||
alias rc='_rails_command console'
|
alias rc='_rails_command console'
|
||||||
alias rd='_rails_command destroy'
|
alias rd='_rails_command destroy'
|
||||||
alias rdb='_rails_command dbconsole'
|
alias rdb='_rails_command dbconsole'
|
||||||
alias rdbm='rake db:migrate db:test:clone'
|
alias rdbm='rake db:migrate db:test:clone'
|
||||||
|
alias rdm='rake db:migrate'
|
||||||
|
alias rdm='_run-with-bundler rake db:migrate'
|
||||||
|
alias rdr='rake db:rollback'
|
||||||
|
alias rdr='_run-with-bundlerrake db:rollback'
|
||||||
alias rg='_rails_command generate'
|
alias rg='_rails_command generate'
|
||||||
alias rgm='_rails_command generate migration'
|
alias rgm='_rails_command generate migration'
|
||||||
alias rp='_rails_command plugin'
|
alias rp='_rails_command plugin'
|
||||||
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 ru='_rails_command runner'
|
||||||
alias rdm='rake db:migrate'
|
|
||||||
alias rdr='rake db:rollback'
|
|
||||||
alias -g RET='RAILS_ENV=test'
|
|
||||||
alias -g REP='RAILS_ENV=production'
|
|
||||||
alias -g RED='RAILS_ENV=development'
|
|
||||||
|
|
||||||
alias rspec='_run-with-bundler rspec'
|
alias rspec='_run-with-bundler rspec'
|
||||||
alias cuke='_run-with-bundler cucumber'
|
alias cuke='_run-with-bundler cucumber'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue