mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-10-31 23:11:13 +00:00
Compare commits
No commits in common. "c005e878599cf40bf293bf3497279f27428f207f" and "f080e2075ec69ced5cc0b558bdce0917be097c16" have entirely different histories.
c005e87859
...
f080e2075e
@ -14,14 +14,14 @@ unset aws_info
|
||||
typeset -gA aws_info
|
||||
|
||||
if (( ${+AWS_SECRET_ACCESS_KEY} )); then
|
||||
aws_prompt="${AWS_PROFILE} "
|
||||
aws_prompt='ACCESS_KEY'
|
||||
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"
|
||||
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
|
||||
|
2
modules/prompt/external/powerlevel10k
vendored
2
modules/prompt/external/powerlevel10k
vendored
@ -1 +1 @@
|
||||
Subproject commit d26bdcd6010cfe82bc7bab07e4363b40be834cc8
|
||||
Subproject commit b9b3399b354e64bac631eb700cc4570d91fdb0da
|
Loading…
Reference in New Issue
Block a user