mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Add new plugin to autocomplete fabric commands
This commit is contained in:
parent
fbf82ae62f
commit
692dca0715
1 changed files with 8 additions and 0 deletions
8
plugins/fabric/fabric.plugin.zsh
Normal file
8
plugins/fabric/fabric.plugin.zsh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#compdef fab
|
||||||
|
|
||||||
|
_fab_list() {
|
||||||
|
reply=(`fab --shortlist`)
|
||||||
|
}
|
||||||
|
compctl -K _fab_list fab
|
||||||
|
|
||||||
|
# DECLARION: This plugin was created by kennethreitz. What I did is just making a portal from https://github.com/kennethreitz-archive/fabric-zsh-completion.
|
Loading…
Reference in a new issue