PHP 8.2.30
Preview: deactivate.nu Size: 333 B
//opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/nushell/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

Directory Contents

Dirs: 1 × Files: 3

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:53:22
Edit Download
1.28 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download
333 B lrw-r--r-- 2022-01-02 15:54:28
Edit Download
1.05 KB lrw-r--r-- 2022-01-02 15:54:28
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).