summaryrefslogtreecommitdiffstats
path: root/src/configs/vagrant.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/vagrant.rs')
-rw-r--r--src/configs/vagrant.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/vagrant.rs b/src/configs/vagrant.rs
index 60460941f..cc7df44b1 100644
--- a/src/configs/vagrant.rs
+++ b/src/configs/vagrant.rs
@@ -6,6 +6,7 @@ use starship_module_config_derive::ModuleConfig;
#[derive(Clone, ModuleConfig, Serialize)]
pub struct VagrantConfig<'a> {
pub format: &'a str,
+ pub version_format: &'a str,
pub symbol: &'a str,
pub style: &'a str,
pub disabled: bool,
@@ -18,6 +19,7 @@ impl<'a> Default for VagrantConfig<'a> {
fn default() -> Self {
VagrantConfig {
format: "via [$symbol($version )]($style)",
+ version_format: "v${raw}",
symbol: "⍱ ",
style: "cyan bold",
disabled: false,