Christian Höltje 63bae2aba9 Use $OSTYPE instead of uname to speed things up | 10 years ago | |
---|---|---|
.. | ||
README.md | 10 years ago | |
rake-fast.plugin.zsh | 10 years ago |
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.
Just add the plugin to your .zshrc
:
plugins=(foo bar rake-fast)
You might consider adding .rake_tasks
to your global .gitignore
rake
, then press tab