Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #667 from akranga/master
Browse files Browse the repository at this point in the history
Add support for both AWS_PROFILE and AWS_DEFAULT_PROFILE
  • Loading branch information
bhilburn committed Nov 10, 2017
2 parents 948e7f5 + 82bc300 commit 87acc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerlevel9k.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 87acc51

Please sign in to comment.