starship 1.25.1

The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
Documentation
use serde::{Deserialize, Serialize};

#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
    feature = "config-schema",
    derive(schemars::JsonSchema),
    schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct JobsConfig<'a> {
    pub threshold: i64,
    pub symbol_threshold: i64,
    pub number_threshold: i64,
    pub format: &'a str,
    pub symbol: &'a str,
    pub style: &'a str,
    pub disabled: bool,
}

impl Default for JobsConfig<'_> {
    fn default() -> Self {
        Self {
            threshold: 1,
            symbol_threshold: 1,
            number_threshold: 2,
            format: "[$symbol$number]($style) ",
            symbol: "",
            style: "bold blue",
            disabled: false,
        }
    }
}