mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: Implement AWS region aliases (#646)
This commit is contained in:
committed by
Matan Kushner
parent
f3784f5aaa
commit
256a2be949
@@ -128,11 +128,12 @@ The `aws` module shows the current AWS region and profile. This is based on
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ----------------- | --------------- | --------------------------------------------------------------------------- |
|
||||
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
|
||||
| ----------------- | --------------- | ----------------------------------------------------------------------------|
|
||||
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
|
||||
| `displayed_items` | `all` | Choose which item to display. Possible values: [`all`, `profile`, `region`] |
|
||||
| `region_aliases` | | Table of region aliases to display in addition to the AWS name. |
|
||||
| `style` | `"bold yellow"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `AWS` module. |
|
||||
| `displayed_items` | `all` | Choose which item to display. Possible values: [`all`, `profile`, `region`] |
|
||||
|
||||
### Example
|
||||
|
||||
@@ -143,6 +144,9 @@ The `aws` module shows the current AWS region and profile. This is based on
|
||||
style = "bold blue"
|
||||
symbol = "🅰 "
|
||||
displayed_items = "region"
|
||||
[aws.region_aliases]
|
||||
ap-southeast-2 = "au"
|
||||
us-east-1 = "va"
|
||||
```
|
||||
|
||||
## Battery
|
||||
|
||||
Reference in New Issue
Block a user