Skip to content

[1168/1285] Implement changes to prompt behavior of activate.bat #1297

Closed

Description

@bskinn

Per discussion at #1168 and #1285, as part of harmonizing the prompt handling behavior of the various supported shells, implement changes to activate.bat to correct the following behaviors, with confirming tests:

  • DOES NOT obey VIRTUAL_ENV_DISABLE_PROMPT
  • DOES NOT create __VIRTUAL_PROMPT__ from --prompt without inserting a space (i.e., always inserts a space between the --prompt argument and the previous prompt contents)

Further, add confirming test(s) for the current correct behavior:

  • Does implement default __VIRTUAL_PROMPT__ prefix of "($VIRTUAL_ENV) " when --prompt is not supplied

Activity

  1. added 2 commits that reference this issue on Mar 1, 2019
    3c4fbe4
    7626e55
  2. locked and limited conversation to collaborators on Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions