Back to Ohmyzsh

Rake plugin

plugins/rake/README.md

latest1.5 KB
Original Source

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:

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

sh
rake namespace:task['argument']

instead of having to do

sh
rake namespace:task\['argument'\]
AliasCommandDescription
rakenoglob rakeAllows unescaped square brackets
bin/rakenoglob bin/rakeSame as above but using rake binstub
brakenoglob bundle exec rakeSame as above but call rake using bundler
srakenoglob sudo rakeSame as rake but using sudo
sbrakenoglob sudo bundle exec rakeSame 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