<p>I am using <code>kubectl with bash completion</code> , but I prefer to use a shorter alias for <code>kubectl</code> such as <code>ks</code> , what changes I need to make to get the bash completion work with alias <code>ks</code></p>

Ijaz Ahmad
<p>from the official docs</p>

<pre><code># after installing bash completion

alias k=kubectl
complete -F __start_kubectl k
</code></pre>

<p><a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet/#bash" rel="noreferrer">https://kubernetes.io/docs/reference/kubectl/cheatsheet/#bash</a></p>
