my xfce4 dotfiles
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.

41 lines
1.6 KiB

3 years ago
  1. # Rake plugin
  2. This plugin adds support for [rake](https://ruby.github.io/rake/), the Ruby
  3. build tool or Ruby Make.
  4. To use it, add `rake` to the plugins array in your zshrc file:
  5. ```zsh
  6. plugins=(... rake)
  7. ```
  8. ## Aliases
  9. The plugin aliases the rake command so you can pass arguments when invoking rake tasks
  10. without having to escape the brackets, i.e., you can run
  11. ```sh
  12. rake namespace:task['argument']
  13. ```
  14. instead of having to do
  15. ```sh
  16. rake namespace:task\['argument'\]
  17. ```
  18. | Alias | Command | Description |
  19. | ---------- | ------------------------------ | --------------------------------------------- |
  20. | `rake` | `noglob rake` | Allows unescaped square brackets |
  21. | `bin/rake` | `noglob bin/rake` | Same as above but using rake binstub |
  22. | `brake` | `noglob bundle exec rake` | Same as above but call rake using bundler |
  23. | `srake` | `noglob sudo rake` | Same as rake but using sudo |
  24. | `sbrake` | `noglob sudo bundle exec rake` | Same as above but using both sudo and bundler |
  25. ## Jim Weirich
  26. The plugin also aliases `rake` to [`jimweirich`](https://github.com/jimweirich), author of Rake
  27. and big time contributor to the Ruby open source community. He passed away in 2014:
  28. > Thank you Jim for everything you contributed to the Ruby and open source community
  29. > over the years. We will miss you dearly. — [**@robbyrussell**](https://github.com/ohmyzsh/ohmyzsh/commit/598a9c6f990756386517d66b6bcf77e53791e905)