diff options
author | Thomas Lee <rusty@spoqa.com> | 2019-10-15 00:05:03 +0900 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-10-15 00:05:03 +0900 |
commit | b3275d8ddf4ab00a120a1f6edeb954987b549cc9 (patch) | |
tree | 95c953302f483ff19a3f6ff2c84b96fa106e43be /src/configs/aws.rs | |
parent | a18408e30c023037d4b30c760fb9027041f4d20e (diff) |
feat: Show AWS region in `aws` module (#482)
Diffstat (limited to 'src/configs/aws.rs')
-rw-r--r-- | src/configs/aws.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/aws.rs b/src/configs/aws.rs index 2c9589508..a4dc4ca71 100644 --- a/src/configs/aws.rs +++ b/src/configs/aws.rs @@ -7,6 +7,7 @@ use starship_module_config_derive::ModuleConfig; pub struct AwsConfig<'a> { pub symbol: SegmentConfig<'a>, pub profile: SegmentConfig<'a>, + pub region: SegmentConfig<'a>, pub style: Style, pub disabled: bool, } @@ -16,6 +17,7 @@ impl<'a> RootModuleConfig<'a> for AwsConfig<'a> { AwsConfig { symbol: SegmentConfig::new("☁️ "), profile: SegmentConfig::default(), + region: SegmentConfig::default(), style: Color::Yellow.bold(), disabled: false, } |