mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
A rails3 plugin based on the rails plugin
This commit is contained in:
parent
4fadc30247
commit
960eb52366
1 changed files with 12 additions and 0 deletions
12
plugins/rails3/rails3.plugin.zsh
Normal file
12
plugins/rails3/rails3.plugin.zsh
Normal file
|
@ -0,0 +1,12 @@
|
|||
alias rs='ruby script/rails server'
|
||||
alias rg='ruby script/rails generate'
|
||||
alias rd='ruby script/rails destroy'
|
||||
alias rp='ruby script/rails plugin'
|
||||
alias rdbm='rake db:migrate db:test:clone'
|
||||
alias rc='ruby script/rails console'
|
||||
alias rd='ruby script/rais server --debugger'
|
||||
alias devlog='tail -f log/development.log'
|
||||
|
||||
function remote_console() {
|
||||
/usr/bin/env ssh $1 "( cd $2 && ruby script/rails console production )"
|
||||
}
|
Loading…
Reference in a new issue