From f2838fb4dbd259fb4188800037ea0eef2d6896b9 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 23 Oct 2018 10:20:44 +0200 Subject: Disable completion (not working well) Disable completion for now, because it's not working with options (eg. --label) and prevents to complete local path IOW current function only completes command and sub-commands that may be usefull but less important than completing a path. Change-Id: Ib5fe4f8492367d383bbe92351ec8c69a65b4ea4c Signed-off-by: Sebastien Douheret --- conf.d/etc/bash_completion.d/xds-cli | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'conf.d/etc/bash_completion.d') diff --git a/conf.d/etc/bash_completion.d/xds-cli b/conf.d/etc/bash_completion.d/xds-cli index b3618a6..bca4251 100644 --- a/conf.d/etc/bash_completion.d/xds-cli +++ b/conf.d/etc/bash_completion.d/xds-cli @@ -9,4 +9,7 @@ _cli_bash_autocomplete() { return 0 } -complete -F _cli_bash_autocomplete xds-cli +# FIXME: Disable completion for now, because it's not working with options +# (eg. --label) and prevents to complete local path +# (IOW current function only completes command and sub-commands) +# complete -F _cli_bash_autocomplete xds-cli -- cgit 1.2.3-korg