You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zsh-git-venv-prompt is a Zsh plugin that enhances your Zsh prompt with information about the current Python virtual environment and the Git status (asynchronously). It uses zsh-async to provide async updates for Git status and displays the virtual environment in the second line of the prompt.
Features
Displays the name of the active Python virtual environment (if any).
Shows the current Git branch and changes (staged, unstaged, clean) asynchronously.
Supports a two-line prompt:
First line: Username, hostname, and current directory.
Second line: Python virtual environment (if active), followed by Git status.
Requirements
zsh-async: This plugin requires zsh-async for asynchronous Git status updates.
zsh-vi-mode (optional): For vi-mode integration and mode indicators.
You can install the dependencies using a plugin manager like znap:
znap source mafredri/zsh-async
znap source jeffreytse/zsh-vi-mode # Optional for vi-mode support
Installation
Using znap (Recommended)
To install this plugin using znap, add the following line to your .zshrc: