add aws-sso-login
This commit is contained in:
@@ -48,9 +48,9 @@ zstyle ':vcs_info:git*' actionformats '%%S%r%%s:%{$fg[red]%}%b:%a%{$reset_color%
|
||||
|
||||
function set_prompt() {
|
||||
|
||||
if [[ -n "$AWS_ENVIRONMENT" ]]; then
|
||||
if [[ -n "$AWS_PROFILE" ]]; then
|
||||
aws_prompt="
|
||||
%S%B$AWS_ENVIRONMENT%b%s
|
||||
%S%B$AWS_PROFILE%b%s
|
||||
"
|
||||
else
|
||||
aws_prompt=""
|
||||
|
||||
Reference in New Issue
Block a user