For bash, you require the bash-completion
package. View the instructions of your package manager regarding the installation process.
Afterwards, you have 2 options on how to persist the autocompletion:
- Using the
.bashrc
file:
echo 'source <(iectl completion bash)' >>~/.bashrc
- Using the bash-completion configuration directory:
iectl completion bash >/etc/bash_completion.d/iectl