mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-01 00:21:13 +00:00
Compare commits
4 Commits
f080e2075e
...
c005e87859
Author | SHA1 | Date | |
---|---|---|---|
c005e87859 | |||
667fba697e | |||
|
704fc46c3f | ||
|
c43d483d47 |
@ -14,15 +14,15 @@ unset aws_info
|
||||
typeset -gA aws_info
|
||||
|
||||
if (( ${+AWS_SECRET_ACCESS_KEY} )); then
|
||||
aws_prompt='ACCESS_KEY'
|
||||
aws_prompt="${AWS_PROFILE} "
|
||||
elif (( ${+AWS_PROFILE} )); then
|
||||
aws_prompt=$AWS_PROFILE
|
||||
fi
|
||||
|
||||
if (( ${+AWS_DEFAULT_REGION} )) && [[ ${_aws_region} = "true" ]]; then
|
||||
AWS_REGION=$(cut -d "-" -f 1 <<<$AWS_DEFAULT_REGION | cut -b 1)$(cut -d "-" -f 2 <<<$AWS_DEFAULT_REGION | cut -b 1)$(cut -d "-" -f 3 <<<$AWS_DEFAULT_REGION | cut -b 1)
|
||||
aws_region_prompt=" $AWS_REGION"
|
||||
fi
|
||||
fi
|
||||
|
||||
if (( ${+AWS_SECRET_ACCESS_KEY} )) || (( ${+AWS_DEFAULT_REGION} )); then
|
||||
zstyle -s ':prezto:module:aws:info:profile' format 'profile_format'
|
||||
|
2
modules/prompt/external/powerlevel10k
vendored
2
modules/prompt/external/powerlevel10k
vendored
@ -1 +1 @@
|
||||
Subproject commit b9b3399b354e64bac631eb700cc4570d91fdb0da
|
||||
Subproject commit d26bdcd6010cfe82bc7bab07e4363b40be834cc8
|
Loading…
Reference in New Issue
Block a user