https://github.com/tonyseek/oh-my-zsh-virtualenv-prompt
Yet another virtualenv prompt plugin of oh-my-zsh.
https://github.com/tonyseek/oh-my-zsh-virtualenv-prompt
Last synced: 8 months ago
JSON representation
Yet another virtualenv prompt plugin of oh-my-zsh.
- Host: GitHub
- URL: https://github.com/tonyseek/oh-my-zsh-virtualenv-prompt
- Owner: tonyseek
- Created: 2013-06-15T19:23:35.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-09-30T07:14:28.000Z (about 9 years ago)
- Last Synced: 2025-03-02T01:55:20.443Z (9 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 35
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zsh-plugins - virtualenv-prompt - A fork of the virtualenv plugin from upstream [oh-my-zsh](https://ohmyz.sh/). Adds support for customizing the virtualenv prompt in [oh-my-zsh](https://ohmyz.sh) themes. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - virtualenv-prompt - A fork of the virtualenv plugin from upstream đ [oh-my-zsh](ohmyz.sh/). Adds support for customizing the virtualenv prompt in đ [oh-my-zsh](ohmyz.sh) themes. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - virtualenv-prompt - A fork of the virtualenv plugin from upstream. Adds support for customizing the virtualenv prompt in oh-my-zsh themes. (Plugins / Zinit (nÊe zplugin))
README
oh-my-zsh::plugin::virtualenv-prompt
====================================
This is a fork of the virtualenv plugin from upstream. It support to customize
the virtualenv prompt in oh-my-zsh themes.
Installation
------------
You can install this plugin via [antigen](https://github.com/zsh-users/antigen):
# $HOME/.zshrc
source /usr/local/share/antigen.zsh
antigen use oh-my-zsh
antigen bundle tonyseek/oh-my-zsh-virtualenv-prompt
antigen theme tonyseek/oh-my-zsh-seeker-theme seeker # optional
antigen apply
It could be upgraded by `antigen update` command.
Customize Theme
---------------
There are two constant strings which could be overrided in your custom theme.
- `ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX`
- `ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX`
And the function `virtualenv_prompt_info` could be used in the prompt of your
theme.
Example
-------
See the [oh-my-zsh::theme::seeker](https://github.com/tonyseek/oh-my-zsh-seeker-theme).