mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
18 lines
583 B
Markdown
18 lines
583 B
Markdown
# conda
|
|
|
|
The plugin displays information of the created virtual container of conda and allows background theming.
|
|
|
|
To use it, add `conda` to the plugins array of your zshrc file:
|
|
```
|
|
plugins=(... conda)
|
|
```
|
|
|
|
The plugin creates a `conda_prompt_info` function that you can use in your
|
|
theme, which displays the basename of the current `$CONDA_DEFAULT_ENV`. It uses
|
|
two variables to control how that is shown:
|
|
|
|
- `ZSH_THEME_CONDA_PREFIX`: sets the prefix of the CONDA_DEFAULT_ENV.
|
|
Defaults to `[`.
|
|
|
|
- `ZSH_THEME_CONDA_SUFFIX`: sets the suffix of the CONDA_DEFAULT_ENV.
|
|
Defaults to `]`.
|