FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
vscode-python/pythonFiles/deactivate.csh at 3.9.3 · Pythoneryeah/vscode-python · GitHub
Pythoneryeah
/
vscode-python
Public
forked from
microsoft/vscode-python
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
vscode-python
/
pythonFiles
/
deactivate.csh
Copy path
More file actions
More file actions
Latest commit
History
History
History
6 lines (5 loc) · 499 Bytes
Breadcrumbs
vscode-python
/
pythonFiles
/
deactivate.csh
Copy path
File metadata and controls
6 lines (5 loc) · 499 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
#
Same as deactivate in "<venv>/bin/activate.csh"
alias
deactivate
'
test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate
'
#
Initialize the variables required by deactivate function
set
_OLD_VIRTUAL_PROMPT=
"
$prompt
"
set
_OLD_VIRTUAL_PATH=
"
$PATH
"
Back
|
FazBrowse Home
|
New Git URL