When it appears
It renders when Starship detects the matching context and its configured conditions are met.
Preview
Rendered from the starting configuration in a representative simulated environment.
starship โ preview
via ๐ science
Starting configuration
[conda]
format = "via [$symbol$environment]($style) "
symbol = "๐
"
style = "green bold"Open in the builderThe configuration is compressed into the URL fragment and stays in your browser.
Key options
- truncation_lengthnumber
- The number of directories the environment path should be truncated to, if the environment was created via conda create -p [path]. 0 means no truncation. Also see the directory module.
- formatstring
- The format for the module.
- symbolstring
- The symbol used before the environment name.
- stylestring
- The style for the module.
- ignore_baseboolean
- Ignores base environment when activated.
- detect_env_varsarray
- Which environment variable(s) should trigger this module. If it's a pixi environment, this module is not being triggered by default.
- disabledboolean
- Disables the conda module.
Format variables
- $environment
- The current conda environment
- $style
- Mirrors the value of option style
- $symbol
- Mirrors the value of option symbol
Common adjustments
- Tune the detection options if this module appears in the wrong projects or misses the right ones.
- Edit format to reorder its variables or make surrounding text conditional.
- Adjust its style options to fit the palette used by the rest of the prompt.