<p>I would like to be able to type</p>
<p><code>ibmcloud ks</code> TAB</p>
<p>with the api giving me options to choose from, same as the kubectl autocomplete function.
I have seen this somewhere before but can't seem to find any documentation so maybe it was a tweak.</p>
<p>Anyone any solutions or said tweaks?
The official docs <a href="https://cloud.ibm.com/docs/containers?topic=containers-cli-plugin-kubernetes-service-cli" rel="nofollow noreferrer">IBM Kubernetes Service Documentation</a></p>
<p>Cheers (I'm using zsh on Ubuntu 20.04)</p>

Lorberta
<p>Here's <a href="https://cloud.ibm.com/docs/cli/reference/ibmcloud?topic=cli-shell-autocomplete#shell-autocomplete-linux" rel="nofollow noreferrer">link</a> to the official documentation you are looking for</p>
<p><strong>For Linux or macOS</strong></p>
<pre><code>source /usr/local/ibmcloud/autocomplete/zsh_autocomplete
</code></pre>
<p>into <code>~/.zshrc</code>.</p>
<p>Once sourced, the output of</p>
<p>ibmcloud ks TAB will be</p>
<p><a href="https://i.stack.imgur.com/3YMck.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3YMck.png" alt="enter image description here" /></a></p>
