Nick's Blog

How to get helm autocompletion work with your zsh

You have probably noticed that helm autocompletion does not work by default. You have to configure it manually.

I created the following bash script that will help you on the helm autocompletion.

helm completion zsh > ~/.helmrc; echo "source ~/.helmrc" >> ~/.zshrc
source ~/.zshrc 

Be careful when you run the command, because something people mess up with “helm completion bash”. And end up with the following error:

 
.helmrc:type:2062: bad option: -t

If you are using bash rather than zsh, you should use the script below:

helm completion bash > ~/.helmrc; echo "source ~/.helmrc" >> ~/.bashrc
source ~/.bashrc 

Happy Helming!