mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-11 00:39:08 +08:00
Merge pull request #575 from Bobo1239/enhance-path
Enhance Path in profile.ps1
This commit is contained in:
commit
419c785db5
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