Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unixorn/rake-completion.zshplugin
rake task tab completion plugin for zsh, suitable for use with zgen and other oh-my-zsh compatible frameworks
https://github.com/unixorn/rake-completion.zshplugin
Last synced: about 2 months ago
JSON representation
rake task tab completion plugin for zsh, suitable for use with zgen and other oh-my-zsh compatible frameworks
- Host: GitHub
- URL: https://github.com/unixorn/rake-completion.zshplugin
- Owner: unixorn
- Created: 2014-02-22T19:48:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-06T18:07:10.000Z (over 7 years ago)
- Last Synced: 2024-01-25T17:36:53.148Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - rake-completion - Add fast tab completion for rakefile targets. (Completions / ZSH on Windows)
- fucking-awesome-zsh-plugins - rake-completion - Add fast tab completion for rakefile targets. (Completions / ZSH on Windows)
- awesome-zsh-plugins - rake-completion - Add fast tab completion for rakefile targets. (Completions / ZSH on Windows)
- awesome-zsh-plugins - rake-completion - Add fast tab completion for rakefile targets. (Completions / Zinit (née zplugin))
README
# rake-completion.zshplugin
A rake task tab completion plugin for zsh, suitable for use with [zgen](https://github.com/tarjoilija/zgen) and other [oh-my-zsh](http://ohmyz.sh/) compatible frameworks. It was converted from a blog post at the [Ruby on Rails](http://weblog.rubyonrails.org/2006/3/9/fast-rake-task-completion-for-zsh/) 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
```bash
antigen bundle unixorn/rake-completion.zshplugin
```### [Oh-My-Zsh](http://ohmyz.sh/)
1. `cd ~/.oh-my-zsh/custom/plugins`
2. `git clone repo`
3. Add the repo to your plugin list### [Prezto](https://github.com/sorin-ionescu/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](https://github.com/tarjoilija/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](https://help.github.com/articles/ignoring-files#global-gitignore) so your repositories don't get polluted.