]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/virtualenv/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / virtualenv / README.md
1 # virtualenv
2
3 The plugin displays information of the created virtual container and allows background theming.
4
5 To use it, add `virtualenv` to the plugins array of your zshrc file:
6 ```
7 plugins=(... virtualenv)
8 ```
9
10 The plugin creates a `virtualenv_prompt_info` function that you can use in your theme, which displays
11 the basename of the current `$VIRTUAL_ENV`. It uses two variables to control how that is shown:
12
13 - `ZSH_THEME_VIRTUALENV_PREFIX`: sets the prefix of the VIRTUAL_ENV. Defaults to `[`.
14
15 - `ZSH_THEME_VIRTUALENV_SUFFIX`: sets the suffix of the VIRTUAL_ENV. Defaults to `]`.