Compare commits

...

1 Commits

Author SHA1 Message Date
Shockwave 6d210e04e3 Plan to migrate all powershell config 2025-05-18 18:15:20 +08:00
2 changed files with 1224 additions and 1224 deletions

View File

@ -1,7 +1,7 @@
$UserShell = $(Get-ChildItem "HKCU:Software\Microsoft\Windows\CurrentVersion\Explorer")
$Folders = $UserShell.Get(34)
$DocPlace = $Folders.GetValue("Personal")
$VenvPath = Join-Path -Path $DocPlace -ChildPath "Pyvenv"
# You can create a SymbolicLink for $Home\Pyvenv
# New-Item -Path .\Pyvenv -ItemType SymbolicLink -Target E:\Documents\Pyvenv
#
$VenvPath = Join-Path -Path $Home -ChildPath "Pyvenv"
function CheckOrCreate($PathName) {
$PathExists = $(Test-Path $PathName)
@ -42,4 +42,4 @@ function workon($name) {
return
}
& $VenvActive
}
}