mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
Enhance Path in profile.ps1
This commit is contained in:
parent
70b0615b34
commit
316a42b8f9
3
vendor/profile.ps1
vendored
3
vendor/profile.ps1
vendored
@ -60,3 +60,6 @@ if (Test-Path Env:\CMDER_START) {
|
|||||||
} elseif ($Env:CMDER_ROOT -and $Env:CMDER_ROOT.StartsWith($pwd)) {
|
} elseif ($Env:CMDER_ROOT -and $Env:CMDER_ROOT.StartsWith($pwd)) {
|
||||||
Set-Location -Path $Env:USERPROFILE
|
Set-Location -Path $Env:USERPROFILE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Enhance Path
|
||||||
|
$env:Path = "$Env:CMDER_ROOT\bin;$env:Path;$Env:CMDER_ROOT"
|
Loading…
Reference in New Issue
Block a user