style(aws): Add spacing between profile and region (#2417)

and also after the symbol when using the Nerd font glyph.
This commit is contained in:
Eric Nielsen
2021-03-06 14:47:06 -05:00
committed by GitHub
parent 7385dc27a9
commit fb6cefa4b5
4 changed files with 29 additions and 25 deletions

View File

@ -253,7 +253,7 @@ is read from the `AWS_VAULT` env var.
| Option | Default | Description |
| ---------------- | ---------------------------------------------- | --------------------------------------------------------------- |
| `format` | `'on [$symbol$profile(\($region\))]($style) '` | The format for the module. |
| `format` | `'on [$symbol($profile )(\($region\) )]($style)'` | The format for the module. |
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
| `region_aliases` | | Table of region aliases to display in addition to the AWS name. |
| `style` | `"bold yellow"` | The style for the module. |
@ -278,7 +278,7 @@ is read from the `AWS_VAULT` env var.
# ~/.config/starship.toml
[aws]
format = 'on [$symbol$profile(\($region\))]($style) '
format = 'on [$symbol($profile )(\($region\) )]($style)'
style = "bold blue"
symbol = "🅰 "
[aws.region_aliases]

View File

@ -18,7 +18,7 @@ If emojis aren't your thing, this might catch your eye!
```toml
[aws]
symbol = " "
symbol = " "
[conda]
symbol = " "