repo_description: ☄🌌️  The minimal, blazing-fast, and infinitely customizable prompt for any shell!
repo_topics: bash fish fish-prompt fish-theme oh-my-zsh powershell rust shell-prompt starship zsh zsh-prompt zsh-theme
code: use serde::{Deserialize, Serialize};
  
  #[derive(Clone, Deserialize, Serialize)]
  #[cfg_attr(
      feature = "config-schema",
      derive(schemars::JsonSchema),
      schemars(deny_unknown_fields)
  )]
  #[serde(default)]
  pub struct MemoryConfig<'a> {
      pub threshold: i64,
      pub format: &'a str,
      pub style: &'a str,
      pub symbol: &'a str,
      pub disabled: bool,
  }
  
  impl Default for MemoryConfig<'_> {
      fn default() -> Self {
          Self {
              threshold: 75,
              format: "via $symbol[$ram( | $swap)]($style) ",
              style: "white bold dimmed",
              symbol: "🐏 ",
              disabled: true,
          }
      }
  }
  