1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

fabric: support fabric 2+ completion (#8010)

This commit is contained in:
Kirill Pinchuk 2019-08-19 19:12:53 +03:00 committed by Marc Cornellà
parent 8634d9542a
commit 1908f7bddc

View file

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