1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-21 03:41:57 +00:00
ohmyzsh/plugins/rake
2021-12-28 20:51:33 +01:00
..
rake.plugin.zsh feat(rake): support square brackets with rake binstub (#5361) 2021-12-28 20:51:33 +01:00
README.md feat(rake): support square brackets with rake binstub (#5361) 2021-12-28 20:51:33 +01:00

Rake plugin

This plugin adds support for rake, the Ruby build tool or Ruby Make.

To use it, add rake to the plugins array in your zshrc file:

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
bin/rake noglob bin/rake Same as above but using rake binstub
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, 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