summaryrefslogtreecommitdiff
path: root/plugins/rake
diff options
context:
space:
mode:
authorKenny Heaton <kennyheaton@gmail.com>2019-10-15 16:21:16 -0500
committerMarc CornellĂ  <marc.cornella@live.com>2019-10-15 23:21:15 +0200
commit1f8989aee81740760fd4202172c90446d1c391d9 (patch)
tree826b0b4ba2399368b98a229d346577b8fa90ccf2 /plugins/rake
parentca6b3977834889f56d03356061394ca80f3520c6 (diff)
downloadzsh-1f8989aee81740760fd4202172c90446d1c391d9.tar.gz
zsh-1f8989aee81740760fd4202172c90446d1c391d9.tar.bz2
zsh-1f8989aee81740760fd4202172c90446d1c391d9.zip
rake: add README (#8254)
Diffstat (limited to 'plugins/rake')
-rw-r--r--plugins/rake/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/rake/README.md b/plugins/rake/README.md
new file mode 100644
index 000000000..e235bd91a
--- /dev/null
+++ b/plugins/rake/README.md
@@ -0,0 +1,37 @@
+# Rake plugin
+
+This plugin adds support for [rake](https://ruby.github.io/rake/), the Ruby
+build tool or Ruby Make.
+
+To use it, add `rake` to the plugins array in your zshrc file:
+
+```zsh
+plugins=(... rake)
+```
+
+## Aliases
+
+The plugin aliases the rake command so you can pass arguments when invoking rake tasks
+without having to escape the brackets, i.e., you can run
+```
+rake namespace:task['argument']
+```
+instead of having to do
+```
+rake namespace:task\['argument'\]
+```
+
+| Alias | Command | Description |
+|--------|--------------------------------|-----------------------------------------------|
+| rake | `noglob rake` | Allows unescaped square brackets |
+| brake | `noglob bundle exec rake` | Same as above but call rake using bundler |
+| srake | `noglob sudo rake` | Same as rake but using sudo |
+| sbrake | `noglob sudo bundle exec rake` | Same as above but using both sudo and bundler |
+
+## Jim Weirich
+
+The plugin also aliases `rake` to [`jimweirich`](https://github.com/jimweirich), author of Rake
+and big time contributor to the Ruby open source community. He passed away in 2014:
+
+> Thank you Jim for everything you contributed to the Ruby and open source community
+> over the years. We will miss you dearly. — [**@robbyrussell**](https://github.com/robbyrussell/oh-my-zsh/commit/598a9c6f990756386517d66b6bcf77e53791e905)