631da358a59026adec14a00c549ab6fa745bc400

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1537 from everbird/master

fabric plugin

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/fabric/_fab b/plugins/fabric/_fab
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..9628e122474052baec84ebae2bc91d11387e3f10
 4--- /dev/null
 5+++ b/plugins/fabric/_fab
 6@@ -0,0 +1,60 @@
 7+#compdef fab
 8+#autoload
 9+
10+local curcontext=$curcontext state line
11+declare -A opt_args
12+
13+declare target_list
14+target_list=(`fab --shortlist 2>/dev/null`)
15+
16+_targets() {
17+    _describe -t commands "fabric targets" target_list
18+}
19+
20+output_levels=(
21+    'status: Status messages, i.e. noting when Fabric is done running, if the user used a keyboard interrupt, or when servers are disconnected from. These messages are almost always relevant and rarely verbose.'
22diff --git a/plugins/fabric/fabric.plugin.zsh b/plugins/fabric/fabric.plugin.zsh
23new file mode 100644
24index 0000000000000000000000000000000000000000..aca41132905175fee832535a53127f32646d238b
25--- /dev/null
26+++ b/plugins/fabric/fabric.plugin.zsh
27@@ -0,0 +1 @@
28+# DECLARION: This plugin was created by vhbit. What I did is just making a portal from https://github.com/vhbit/fabric-zsh-autocomplete.