mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fabric autocompletion plugin
This commit is contained in:
parent
757fa3314d
commit
207220f04f
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 @@
|
|||
_fab_list() {
|
||||
if [ ! -f fabfile.py ]; then return 0;
|
||||
else
|
||||
reply=(`fab --shortlist`)
|
||||
fi
|
||||
}
|
||||
|
||||
compctl -K _fab_list fab
|
||||
Loading…
Add table
Add a link
Reference in a new issue