From 0585446c11c3ce2a1462aa87241b7336f2ac0e62 Mon Sep 17 00:00:00 2001 From: Stan Rudenko Date: Tue, 6 Oct 2015 12:48:29 -0700 Subject: [PATCH] New ENV variable which prevents modification of RPROMPT --- plugins/aws/aws.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh index d31052f83..ffbcbf1f2 100644 --- a/plugins/aws/aws.plugin.zsh +++ b/plugins/aws/aws.plugin.zsh @@ -18,7 +18,7 @@ function asp { export AWS_DEFAULT_PROFILE=$1 export AWS_PROFILE=$1 - export RPROMPT="$rprompt" + [[ ${ZSH_AWS_SKIPRPROMPT} == "true" ]] || export RPROMPT="$rprompt" } function aws_profiles {