aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-16 17:19:41 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-16 17:19:41 +0300
commit94de8519b4879c6a1f62ce9e8155809e4641a471 (patch)
tree422ccd3bf11439d0fb6b6bcc6c15c6d91b757f4f /internal/p10k.zsh
parentabf1e3b0af350affb3a09d5b1fdc6fda510f52a2 (diff)
cleanup
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 5e80311a..7849187e 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -935,7 +935,7 @@ prompt_anaconda() {
# AWS Profile
prompt_aws() {
local aws_profile="${AWS_VAULT:-${AWSUME_PROFILE:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}}"
- if [[ ! -z "$aws_profile" ]]; then
+ if [[ -n "$aws_profile" ]]; then
_p9k_prompt_segment "$0" red white 'AWS_ICON' 0 '' "${aws_profile//\%/%%}"
fi
}