Fallback to file completion if needed

This commit is contained in:
Andrey Pohilko 2013-03-22 18:32:34 +04:00
parent 59c95089da
commit 3a297f61fd

View File

@ -1,4 +1,4 @@
#have yandex-tank &&
have yandex-tank &&
_yandex_tank()
{
local cur prev opts
@ -18,9 +18,8 @@ _yandex_tank()
return 0
fi
COMPREPLY=()
}
complete -F _yandex_tank yandex-tank
# &&
#complete -F _yandex_tank yandex-tank-jmeter &&
#complete -F _yandex_tank yandex-tank-udp &&
#complete -F _yandex_tank yandex-tank-elliptics
} &&
complete -o default -F _yandex_tank yandex-tank &&
complete -o default -F _yandex_tank yandex-tank-jmeter &&
complete -o default -F _yandex_tank yandex-tank-udp &&
complete -o default -F _yandex_tank yandex-tank-elliptics