fix(climc): bash completion is not working

This commit is contained in:
Zexi Li
2023-11-17 12:03:27 +08:00
parent 1abb1086ed
commit 440a7fa5fc
@@ -1,8 +1,13 @@
export PATH=/opt/yunion/bin:$PATH
if [ -f /etc/profile.d/bash_completion.sh ]; then
source /etc/profile.d/bash_completion.sh
fi
test -f /etc/yunion/rcadmin && source /etc/yunion/rcadmin
source <(climc --completion bash)
source <(kubectl completion bash)
echo "Welcome to Cloud Shell :-) You may execute climc and other command tools in this shell."
echo "Please exec 'climc' to get started"