• Home
  • Raw
  • Download

Lines Matching refs:Path

77     if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {  in global:deactivate()
78 Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt in global:deactivate()
79 Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT in global:deactivate()
83 if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) { in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
85 Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME in global:deactivate()
89 if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) { in global:deactivate()
90 Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH in global:deactivate()
91 Remove-Item -Path Env:_OLD_VIRTUAL_PATH in global:deactivate()
95 if (Test-Path -Path Env:VIRTUAL_ENV) { in global:deactivate()
96 Remove-Item -Path env:VIRTUAL_ENV in global:deactivate()
100 if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) { in global:deactivate()
101 Remove-Item -Path env:VIRTUAL_ENV_PROMPT in global:deactivate()
111 Remove-Item -Path function:deactivate in global:deactivate()
138 …$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Conti… in Get-PyVenvConfig()
146 $pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath in Get-PyVenvConfig()
171 $VenvExecDir = Get-Item -Path $VenvExecPath
206 Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
207 $Prompt = Split-Path -Path $venvDir -Leaf
229 Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
242 Remove-Item -Path Env:PYTHONHOME
246 Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
247 $Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"