浏览代码

add rails runner alias

Godwin Ko 13 年之前
父节点
当前提交
81d94e6c9e
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      plugins/rails/rails.plugin.zsh
  2. 1 0
      plugins/rails3/rails3.plugin.zsh

+ 1 - 0
plugins/rails/rails.plugin.zsh

@@ -2,6 +2,7 @@ alias ss='thin --stats "/thin/stats" start'
 alias sg='ruby script/generate'
 alias sd='ruby script/destroy'
 alias sp='ruby script/plugin'
+alias sr='ruby script/runner'
 alias ssp='ruby script/spec'
 alias rdbm='rake db:migrate'
 alias sc='ruby script/console'

+ 1 - 0
plugins/rails3/rails3.plugin.zsh

@@ -14,6 +14,7 @@ alias rdb='_rails_command dbconsole'
 alias rdbm='rake db:migrate db:test:clone'
 alias rg='_rails_command generate'
 alias rp='_rails_command plugin'
+alias rr='_rails_command runner'
 alias rs='_rails_command server'
 alias rsd='_rails_command server --debugger'
 alias devlog='tail -f log/development.log'