diff options
author | Dominik Bamberger <dmayer@suse.de> | 2012-09-27 11:51:16 +0200 |
---|---|---|
committer | Dominik Bamberger <dmayer@suse.de> | 2012-09-27 11:51:16 +0200 |
commit | c7c647d8039987b802509519ffa631818cd1d194 (patch) | |
tree | cf2ef94a42ab4124ec5583f7717a5b6decba583c /plugins/zeus/zeus.plugin.zsh | |
parent | 25a9cddc2191a1c6751d1e385389c0787a597a3e (diff) | |
download | zsh-c7c647d8039987b802509519ffa631818cd1d194.tar.gz zsh-c7c647d8039987b802509519ffa631818cd1d194.tar.bz2 zsh-c7c647d8039987b802509519ffa631818cd1d194.zip |
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.
Diffstat (limited to 'plugins/zeus/zeus.plugin.zsh')
-rw-r--r-- | plugins/zeus/zeus.plugin.zsh | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/zeus/zeus.plugin.zsh b/plugins/zeus/zeus.plugin.zsh new file mode 100644 index 000000000..48392f541 --- /dev/null +++ b/plugins/zeus/zeus.plugin.zsh @@ -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' |