From 1908f7bddcacdfb18a5a4b1c883f0c405d1660a8 Mon Sep 17 00:00:00 2001 From: Kirill Pinchuk Date: Mon, 19 Aug 2019 19:12:53 +0300 Subject: [PATCH] fabric: support fabric 2+ completion (#8010) --- plugins/fabric/_fab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fabric/_fab b/plugins/fabric/_fab index 9628e1224..4c2e61306 100644 --- a/plugins/fabric/_fab +++ b/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