golden hour
/opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/nushell
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
1.05 KB
Del
OK
__pycache__
-
Del
OK
activate.nu
1.28 KB
Del
OK
deactivate.nu
333 B
Del
OK
Edit: deactivate.nu
# 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
Save