Disable completion (not working well)
[src/xds/xds-cli.git] / conf.d / etc / bash_completion.d / xds-cli
index 9778180..bca4251 100644 (file)
@@ -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