Skip to content

feat: Add python_venv_prompt function#19

Open
danrneal wants to merge 1 commit into
dimo414:masterfrom
danrneal:add-python-venv-prompt
Open

feat: Add python_venv_prompt function#19
danrneal wants to merge 1 commit into
dimo414:masterfrom
danrneal:add-python-venv-prompt

Conversation

@danrneal
Copy link
Copy Markdown

This change introduces a new python_venv_prompt function to display the active Python virtual environment name in the prompt.

This is a common and useful feature for Python developers, allowing them to see which venv is currently active at a glance.

The function uses the VIRTUAL_ENV_PROMPT environment variable for detection and styles the output to be consistent with other ancillary indicators in the prompt.

This change introduces a new `python_venv_prompt` function to display
the active Python virtual environment name in the prompt.

This is a common and useful feature for Python developers, allowing
them to see which `venv` is currently active at a glance.

The function uses the VIRTUAL_ENV_PROMPT environment variable for
detection and styles the output to be consistent with other ancillary
indicators in the prompt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant