update cmder_root env set
This commit is contained in:
parent
6a6a1501d1
commit
285c50b9bf
10
install.ps1
10
install.ps1
@ -19,7 +19,15 @@ $vscode_user_settings_path = "$($app_data)\Code\User\settings.json"
|
||||
Write-Host "VS Code User Settings Path: $($vscode_user_settings_path)"
|
||||
|
||||
# Cmder Config Directory
|
||||
$cmder_root = $env:CMDER_ROOT
|
||||
$cmder_root
|
||||
if(-not $env:CMDER_ROOT)
|
||||
{
|
||||
[System.Environment]::SetEnvironmentVariable(("CMDER_ROOT", "$($env:USERPROFILE)\Cmder"))
|
||||
$cmder_root = $env:CMDER_ROOT
|
||||
}
|
||||
else {
|
||||
$cmder_root = $env:CMDER_ROOT
|
||||
}
|
||||
Write-Host "Cmder Config Directory: $($cmder_root)\config"
|
||||
|
||||
$cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml"
|
||||
|
Loading…
Reference in New Issue
Block a user