X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fetc%2Fbash_completion.d%2Fxds-cli;h=bca4251dcc48f7f80eb8ebdfb7438979dec17702;hb=f2838fb4dbd259fb4188800037ea0eef2d6896b9;hp=97781807c9215453aa632468d39440ed9df7c22e;hpb=04040c928142db92d2ef2d4b43ad4701392e5ceb;p=src%2Fxds%2Fxds-cli.git diff --git a/conf.d/etc/bash_completion.d/xds-cli b/conf.d/etc/bash_completion.d/xds-cli index 9778180..bca4251 100644 --- a/conf.d/etc/bash_completion.d/xds-cli +++ b/conf.d/etc/bash_completion.d/xds-cli @@ -1,4 +1,4 @@ -#! /bin/bash +# xds-cli bash completion script _cli_bash_autocomplete() { local cur opts base @@ -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