1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 14:24:16 +08:00
ohmyzsh/plugins/rake-fast
Christian Höltje 63bae2aba9 Use $OSTYPE instead of uname to speed things up
The $OSTYPE variable is set at ZSH compile time and can be safely used
to determine the OS of the system. e.g. darwin (os x)
2014-07-23 09:18:14 -04:00
..
rake-fast.plugin.zsh Use $OSTYPE instead of uname to speed things up 2014-07-23 09:18:14 -04:00
README.md Add README file to rake-fast plugin 2014-03-25 12:38:02 -04:00

rake-fast

Fast rake autocompletion plugin.

This script caches the output for later usage and significantly speeds it up. It generates a .rake_tasks cache file 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.

Installation

Just add the plugin to your .zshrc:

plugins=(foo bar rake-fast)

You might consider adding .rake_tasks to your global .gitignore

Usage

rake, then press tab