summaryrefslogtreecommitdiffstats
path: root/src/configs/aws.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/aws.rs')
-rw-r--r--src/configs/aws.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/configs/aws.rs b/src/configs/aws.rs
index 8cef66362..8cb2b2dd5 100644
--- a/src/configs/aws.rs
+++ b/src/configs/aws.rs
@@ -10,16 +10,18 @@ pub struct AwsConfig<'a> {
pub style: &'a str,
pub disabled: bool,
pub region_aliases: HashMap<String, &'a str>,
+ pub expiration_symbol: &'a str,
}
impl<'a> Default for AwsConfig<'a> {
fn default() -> Self {
AwsConfig {
- format: "on [$symbol($profile )(\\($region\\) )]($style)",
+ format: "on [$symbol($profile )(\\($region\\) )(\\[$duration\\])]($style)",
symbol: "☁️ ",
style: "bold yellow",
disabled: false,
region_aliases: HashMap::new(),
+ expiration_symbol: "X",
}
}
}