Skip to content

Could there be an alias for deactivate e.g., workoff? #115

@PinkShnack

Description

@PinkShnack

As far as I can see from the repo, virtualenvwrapper-win does not provide its own deactivate.bat batch file. This means that when I run deactivate, my machine defaults to the conda deactivate command by using the deactivate file. This (I assume) can happen to others whose base python installation came with the Anaconda or Miniconda distribution. It also means that I cannot deactivate my virtualenvwrapper environment, I can only swap between them.

I currently workaround this by creating a copy of the deactivate file and calling it deactivate.bat. Now virtualenvwrapper will correctly point to this file and deactivate the virtualenvwrapper environment.

Is it possible for there to be an alias for deactivate for virtualenvwrapper-win such as workoff, or even include a deactivate.bat file by that name?

Please let me know if I am doing something wrong and if the above is possible.

Python via Minconda: 3.9.1

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