D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
virtualenv
/
activation
/
nushell
/
Filename :
deactivate.nu
back
Copy
# Setting the old path let path-name = (if ((sys).host.name == "Windows") { "Path" } { "PATH" }) let-env $path-name = $nu.env._OLD_VIRTUAL_PATH # Unleting the environment variables that were created when activating the env unlet-env VIRTUAL_ENV unlet-env _OLD_VIRTUAL_PATH unlet-env PROMPT_COMMAND unalias pydoc unalias deactivate