summaryrefslogtreecommitdiff
path: root/plugins/fabric
diff options
context:
space:
mode:
authorStephen Zhuang <stephen.zhuang@gmail.com>2013-01-06 14:08:12 +0800
committerStephen Zhuang <stephen.zhuang@gmail.com>2013-01-06 14:08:12 +0800
commit692dca07158413ae27b2064c303240f5b9621cff (patch)
tree5c17b58312561a4fde2e5b63d9378888a76b1bab /plugins/fabric
parentfbf82ae62fe03f69af0114011c0d6848a83d4fb3 (diff)
downloadzsh-692dca07158413ae27b2064c303240f5b9621cff.tar.gz
zsh-692dca07158413ae27b2064c303240f5b9621cff.tar.bz2
zsh-692dca07158413ae27b2064c303240f5b9621cff.zip
Add new plugin to autocomplete fabric commands
Diffstat (limited to 'plugins/fabric')
-rw-r--r--plugins/fabric/fabric.plugin.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/fabric/fabric.plugin.zsh b/plugins/fabric/fabric.plugin.zsh
new file mode 100644
index 000000000..d44e2d916
--- /dev/null
+++ b/plugins/fabric/fabric.plugin.zsh
@@ -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.