Commit 1908f7bd authored by Kirill Pinchuk's avatar Kirill Pinchuk Committed by Marc Cornellà
Browse files

fabric: support fabric 2+ completion (#8010)

parent 8634d954
......@@ -5,7 +5,7 @@ local curcontext=$curcontext state line
declare -A opt_args
declare target_list
target_list=(`fab --shortlist 2>/dev/null`)
target_list=(`fab --shortlist 2>/dev/null || fab --complete 2>/dev/null`)
_targets() {
_describe -t commands "fabric targets" target_list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment