Commit 5c91cfcb authored by Erwan ROUSSEL's avatar Erwan ROUSSEL Committed by Marc Cornellà
Browse files

capistrano: add README (#7376)

parent 78935f7c
# Capistrano
This plugin provides completion for [Capistrano](https://capistranorb.com/).
To use it add capistrano to the plugins array in your zshrc file.
```bash
plugins=(... capistrano)
```
For a working completion use the `capit` command instead of `cap`, because cap is a
[reserved word in zsh](http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module).
`capit` automatically runs cap with bundler if a Gemfile is found.
# Added `shipit` because `cap` is a reserved word. `cap` completion doesn't work. # Added `capit` because `cap` is a reserved word. `cap` completion doesn't work.
# http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module # http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
func capit() { function capit() {
if [ -f Gemfile ] if [ -f Gemfile ]
then then
bundle exec cap $* bundle exec cap $*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment