mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add kennethreitz' Fabric tab completion as a plugin.
This commit is contained in:
parent
dd22de5562
commit
5aa37062a5
1 changed files with 19 additions and 0 deletions
19
plugins/fabric/fabric.plugin.zsh
Normal file
19
plugins/fabric/fabric.plugin.zsh
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
#!zsh
|
||||||
|
#
|
||||||
|
# Installation
|
||||||
|
# ------------
|
||||||
|
#
|
||||||
|
# To achieve fabfile completion nirvana:
|
||||||
|
#
|
||||||
|
# Copy this file somewhere (e.g. ~/.fab-comletion.zsh) and put the following line in your .zshrc:
|
||||||
|
#
|
||||||
|
# source ~/.fab-comletion.zsh
|
||||||
|
#
|
||||||
|
# Or, use this file as a oh-my-zsh plugin.
|
||||||
|
#
|
||||||
|
|
||||||
|
_fab_list() {
|
||||||
|
reply=(`fab --shortlist`)
|
||||||
|
}
|
||||||
|
compctl -K _fab_list fab
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue