fabric: support fabric 2+ completion (#8010)

master
Kirill Pinchuk 7 years ago committed by Marc Cornellà
parent 8634d9542a
commit 1908f7bddc
  1. 2
      plugins/fabric/_fab

@ -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

Loading…
Cancel
Save