From 3a297f61fd8e4c0d205fbc30364f7c5d6800c3d9 Mon Sep 17 00:00:00 2001 From: Andrey Pohilko Date: Fri, 22 Mar 2013 18:32:34 +0400 Subject: [PATCH] Fallback to file completion if needed --- yandex-tank.completion | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/yandex-tank.completion b/yandex-tank.completion index a724c37..a9c59b8 100755 --- a/yandex-tank.completion +++ b/yandex-tank.completion @@ -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 \ No newline at end of file +} && +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 \ No newline at end of file