Skip to content
rake task tab completion plugin for zsh, suitable for use with zgen and other oh-my-zsh compatible frameworks
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
rake_completion.plugin.zsh

README.md

rake-completion.zshplugin

A rake task tab completion plugin for zsh, suitable for use with zgen and other oh-my-zsh compatible frameworks. It was converted from a blog post at the Ruby on Rails blog, but I wanted it in a zsh plugin so I could use it now that I've switched to zgen.

For speed, this caches the output for later usage in a .rake_tasks file in the same directory as the Rakefile. If the Rakefile is newer than .rake_tasks, it will rebuild the cache.

How to install

Antigen

Add a bundle entry to your .zshrc

antigen bundle unixorn/rake-completion.zshplugin

Oh-My-Zsh

  1. cd ~/.oh-my-zsh/custom/plugins
  2. git clone repo
  3. Add the repo to your plugin list

Prezto

  1. Clone the plugin into your prezto modules directory
  2. Add the plugin to your .zpreztorc file
  3. Open a new terminal window or tab

zgen

Add a zgen load entry to your .zshrc with your other plugins: zgen load unixorn/rake-completion.zshplugin

Add .rake_tasks to your global .gitignore so your repositories don't get polluted.

You can’t perform that action at this time.