Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT #106726

Merged
merged 1 commit into from
Jan 23, 2024
Merged

gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT #106726

merged 1 commit into from
Jan 23, 2024

Commits on Jan 14, 2024

  1. gh-89427: Provide the original prompt value for VIRTUAL_ENV_PROMPT

    This improves the implementation in gh-106643.
    
    Previously, venv passed "(<prompt>) " to the activation scripts, but we want
    to provide the original value so that users can inspect it in the
    $VIRTUAL_ENV_PROMPT env var.
    
    Note: Lib/venv/scripts/common/Activate.ps1 surrounded the prompt value with
    parens a second time, so no change was necessary in that file.
    jimporter committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    d658e85 View commit details
    Browse the repository at this point in the history