aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@deepsig.io>2017-11-10 18:33:37 +0300
committerBen Hilburn <bhilburn@deepsig.io>2017-11-10 18:33:37 +0300
commit9d59daf18dd850c04f2bbc86fd0784e7d8be27da (patch)
tree5503bff9aa882129bfc3c5beec9a293fd82eeb11 /powerlevel9k.zsh-theme
parent3b2d47febdf0c9b0b118e84cba458e4a698f30ba (diff)
parent87acc51acab3ed4fd33cda2386abed6f98c80720 (diff)
Merge branch 'master' into next
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index caf2adbb..57419e61 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -287,7 +287,7 @@ prompt_anaconda() {
# AWS Profile
prompt_aws() {
- local aws_profile="$AWS_DEFAULT_PROFILE"
+ local aws_profile="${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}"
if [[ -n "$aws_profile" ]]; then
"$1_prompt_segment" "$0" "$2" red white "$aws_profile" 'AWS_ICON'