解决:
yum -y install bash-completion
当前shell窗口:
source <(kubectl completion bash)
source <(helm completion bash)
永久:
echo "source <(kubectl completion bash)" >> ~/.bashrc
helm completion bash > /etc/bash_completion.d/helm
yum -y install bash-completion
当前shell窗口:
source <(kubectl completion bash)
source <(helm completion bash)
永久:
echo "source <(kubectl completion bash)" >> ~/.bashrc
helm completion bash > /etc/bash_completion.d/helm
开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。