zeus.plugin.zsh 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # Some aliases for zeus. (See: https://github.com/burke/zeus)
  2. # Zeus preloads your Rails environment and forks that process whenever
  3. # needed. This effectively speeds up Rails' boot process to under 1 sec.
  4. # Init
  5. alias zi='zeus init'
  6. alias zinit='zeus init'
  7. # Start
  8. alias zs='zeus start'
  9. alias ztart='zeus start'
  10. # Console
  11. alias zc='zeus console'
  12. alias zonsole='zeus console'
  13. # Server
  14. alias zsr='zeus server'
  15. alias zerver='zeus server'
  16. # Rake
  17. alias zr='zeus rake'
  18. alias zake='zeus rake'
  19. # Generate
  20. alias zg='zeus generate'
  21. alias zenerate='zeus generate'
  22. # Runner
  23. alias zrn='zeus runner'
  24. alias zunner='zeus runner'
  25. # Cucumber
  26. alias zcu='zeus cucumber'
  27. alias zucumber='zeus cucumber'
  28. # Rspec
  29. alias zspec='zeus rspec'
  30. # Test
  31. alias zt='zeus test'
  32. alias zest='zeus test'
  33. alias zu='zeus test test/unit/*'
  34. alias zunits='zeus test test/unit/*'
  35. alias zf='zeus test test/functional/*'
  36. alias zunctional='zeus test test/functional/*'
  37. alias za='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
  38. alias zall='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
  39. # Clean up crashed zeus instances.
  40. alias zsw='rm .zeus.sock'
  41. alias zweep='rm .zeus.sock'