diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh index e5e3f1236..7246db9f0 100644 --- a/plugins/aws/aws.plugin.zsh +++ b/plugins/aws/aws.plugin.zsh @@ -13,7 +13,8 @@ function agp { } function asp { export AWS_DEFAULT_PROFILE=$1 - export RPROMPT="" + export AWS_PROFILE=$1 + export RPROMPT="$RPROMPT" } function aws_profiles { reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_-]*\).*/\1/'))