You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.4 KiB
3.4 KiB
zeus plugin
Zeus preloads your Rails environment and forks that process whenever needed. This effectively speeds up Rails' boot process to under 1 sec. This plugin adds autocompletion for zeus and aliases for common usage.
To use it, add zeus
to the plugins array in your zshrc file:
plugins=(... zeus)
You also need to have the zeus
gem installed.
Alias | Command |
---|---|
zi | zeus init |
zinit | zeus init |
zs | zeus start |
ztart | zeus start |
zc | zeus console |
zonsole | zeus console |
zsr | zeus server |
zerver | zeus server |
zr | noglob zeus rake |
zake | noglob zeus rake |
zg | zeus generate |
zenerate | zeus generate |
zrn | zeus runner |
zunner | zeus runner |
zcu | zeus cucumber |
zucumber | zeus cucumber |
zwip | zeus cucumber --profile wip |
zspec | zeus rspec |
zt | zeus test |
zest | zeus test |
zu | zeus test test/unit/* |
zunits | zeus test test/unit/* |
zf | zeus test test/functional/* |
zunctional | zeus test test/functional/* |
za | zeus test test/unit/*; zeus test test/functional/; zeus cucumber |
zall | zeus test test/unit/*; zeus test test/functional/; zeus cucumber |
zsw | rm .zeus.sock |
zweep | rm .zeus.sock |
zdbr | zeus rake db:reset db:test:prepare |
zdbreset | zeus rake db:reset db:test:prepare |
zdbm | zeus rake db:migrate db:test:prepare |
zdbmigrate | zeus rake db:migrate db:test:prepare |
zdbc | zeus rake db:create |
zdbcm | zeus rake db:create db:migrate db:test:prepare |