<p>I am using the <a href="https://console.bluemix.net/docs/cli/index.html#overview" rel="nofollow noreferrer">CLI for IBM Cloud</a> in my bash environment. Is there support for autocomplete, i.e., automatic completion of commands and their options?</p>

<p>I am especially interested in the commands for the Kubernetes service and the container registry.</p>

<p>Autocompletion is supported, but not that well-advertised. The instructions can be found in the <a href="https://console.bluemix.net/docs/cli/reference/bluemix_cli/enable_cli_autocompletion.html#enabling-shell-autocompletion-for-ibm-cloud-cli-linux-macos-only-" rel="nofollow noreferrer">IBM Cloud developer tools documentation</a>. The following source needs to be added to the bash / zsh resource file or profile:</p>

<p>bash: <code>source /usr/local/ibmcloud/autocomplete/bash_autocomplete</code><br>
zsh: <code>source /usr/local/ibmcloud/autocomplete/zsh_autocomplete</code></p>
