mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-14 02:04:22 +08:00
fabric: support fabric 2+ completion (#8010)
This commit is contained in:
1 parent
8634d9542a
commit
1908f7bddc
1 file changed
+1
-1
+1
-1
@@ -5,7 +5,7 @@ local curcontext=$curcontext state line
|
|||||||
declare -A opt_args
|
declare -A opt_args
|
||||||
|
|
||||||
declare target_list
|
declare target_list
|
||||||
target_list=(`fab --shortlist 2>/dev/null`)
|
target_list=(`fab --shortlist 2>/dev/null || fab --complete 2>/dev/null`)
|
||||||
|
|
||||||
_targets() {
|
_targets() {
|
||||||
_describe -t commands "fabric targets" target_list
|
_describe -t commands "fabric targets" target_list
|
||||||
|
|||||||
Reference in new issue
Block a user