mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
closes #2756
This commit is contained in:
parent
50bf15dd75
commit
9d76f99dcf
2
vendor/profile.ps1
vendored
2
vendor/profile.ps1
vendored
@ -17,7 +17,7 @@ if ($ENV:CMDER_USER_CONFIG) {
|
||||
|
||||
# We do this for Powershell as Admin Sessions because CMDER_ROOT is not being set.
|
||||
if ($null -eq $ENV:CMDER_ROOT) {
|
||||
if ($ENV:ConEmuDir) {
|
||||
if (-Not($null -eq $ENV:ConEmuDir)) {
|
||||
$ENV:CMDER_ROOT = Resolve-Path($ENV:ConEmuDir + "\..\..")
|
||||
} else {
|
||||
$ENV:CMDER_ROOT = Resolve-Path($PSScriptRoot + "\..")
|
||||
|
Loading…
Reference in New Issue
Block a user