dotfiles/zsh/.oh-my-zsh/plugins/zeus
2024-06-19 00:06:56 +02:00
..
_zeus First commit 2024-06-19 00:06:56 +02:00
README.md First commit 2024-06-19 00:06:56 +02:00
zeus.plugin.zsh First commit 2024-06-19 00:06:56 +02:00

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