Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.25 KB

rake-fast

Fast rake autocompletion plugin for oh-my-zsh

This plugin is now bundled with oh-my-zsh and maintained by more competent people over there.

What?

This script caches the output for later usage and significantly speeds it up.

It generates a file .rake_tasks in parallel to the Rakefile. It also checks the file modification dates to see if it needs to regenerate the cache file.

This is entirely based on this pull request by Ullrich Schäfer, which is inspired by this Ruby on Rails trick from 2006.

Think about that. 2006.

How to install

  1. Clone this repository in oh-my-zsh plugins directory:
cd ~/.oh-my-zsh/custom/plugins
git clone git://github.com/KevinBongart/rake-fast.git
  1. Add the plugin to your .zshrc:
plugins=(foo bar rake-fast)
  1. Source ~/.zshrc to take changes into account:
source ~/.zshrc

You'll also want to add .rake_tasks to your global .gitignore