fix(terminal): 修改挂载脚本

This commit is contained in:
Aaron3S
2021-10-08 15:07:53 +08:00
parent f804c623cc
commit e39d208ae8

View File

@@ -36,7 +36,7 @@ current_context=`kubectl config current-context`
cluster=${current_context%@*}
username=${current_context#*@}
echo -e PS1='['${username}@${cluster}']$ ' >> .bashrc
echo -e PS1=\"'['${username}@${cluster}']$ '\" >> .bashrc
echo "Welcome to kubepi web terminal, try kubectl --help."