1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

Add zeus plugin

Includes aliases for zeus (https://github.com/burke/zeus)

Also there is a README.md that list all aliases, ready to copy
into the wiki.
This commit is contained in:
Dominik Bamberger 2012-09-27 11:51:16 +02:00
parent 25a9cddc21
commit c7c647d803
2 changed files with 99 additions and 0 deletions

41
plugins/zeus/README.md Normal file
View file

@ -0,0 +1,41 @@
## zeus
**Maintainer:** [b4mboo](https://github.com/b4mboo)
* `zi` aliases `zeus init`
* `zinit` aliases `zeus init`
* `zs` aliases `zeus start`
* `ztart` aliases `zeus start`
* `zc` aliases `zeus console`
* `zonsole` aliases `zeus console`
* `zsr` aliases `zeus server`
* `zerver` aliases `zeus server`
* `zr` aliases `zeus rake`
* `zake` aliases `zeus rake`
* `zg` aliases `zeus generate`
* `zenerate` aliases `zeus generate`
* `zrn` aliases `zeus runner`
* `zunner` aliases `zeus runner`
* `zcu` aliases `zeus cucumber`
* `zucumber` aliases `zeus cucumber`
* `zt` aliases `zeus test`
* `zest` aliases `zeus test`
* `zu` aliases `zeus test/units/*`
* `zunits` aliases `zeus test/units/*`
* `zf` aliases `zeus test/functional/*`
* `zunctional` aliases `zeus test/functional/*`
* `za` aliases `zeus test test/units/*; zeus test test/functional/; zeus cucumber`
* `zall` aliases `zeus test test/units/*; zeus test test/functional/; zeus cucumber`
* `zsw` aliases `rm .zeus.sock`
* `zweep` aliases `rm .zeus.sock`

View file

@ -0,0 +1,58 @@
# Some aliases for zeus. (See: https://github.com/burke/zeus)
# Zeus preloads your Rails environment and forks that process whenever
# needed. This effectively speeds up Rails' boot process to under 1 sec.
# Always use bundler.
# Rails depends on bundler, so we can be pretty sure, that there are no
# problems with this command. For all the other aliases I provided an
# alternative, in case people have conflicts with other plugins (e.g. suse).
alias zeus='bundle exec zeus'
# Init
alias zi='zeus init'
alias zinit='zeus init'
# Start
alias zs='zeus start'
alias ztart='zeus start'
# Console
alias zc='zeus console'
alias zonsole='zeus console'
# Server
alias zsr='zeus server'
alias zerver='zeus server'
# Rake
alias zr='zeus rake'
alias zake='zeus rake'
# Generate
alias zg='zeus generate'
alias zenerate='zeus generate'
# Runner
alias zrn='zeus runner'
alias zunner='zeus runner'
# Cucumber
alias zcu='zeus cucumber'
alias zucumber='zeus cucumber'
# Test
alias zt='zeus test'
alias zest='zeus test'
alias zu='zeus test/units/*'
alias zunits='zeus test/units/*'
alias zf='zeus test/functional/*'
alias zunctional='zeus test/functional/*'
alias za='zeus test test/units/*; zeus test test/functional/; zeus cucumber'
alias zall='zeus test test/units/*; zeus test test/functional/; zeus cucumber'
# Clean up crashed zeus instances.
alias zsw='rm .zeus.sock'
alias zweep='rm .zeus.sock'