diff --git a/.bashrc b/.bashrc index b6727af..6109f5c 100755 --- a/.bashrc +++ b/.bashrc @@ -137,10 +137,10 @@ kubectl_context() { prod_color=`tput setaf 1; tput bold` dev_color=`tput setaf 4; tput bold` - if [[ "$context" = *"hopcloud.extrahop.com"* ]]; then - echo "-- ${prod_color}${cluster}:${namespace}${c_reset}" - else + if [[ "$EKS_CLUSTER_NAME" = "tgrosinger-he-extrahop-com" ]]; then echo "-- ${dev_color}${cluster}:${namespace}${c_reset}" + else + echo "-- ${prod_color}${cluster}:${namespace}${c_reset}" fi }