remove add env var

This commit is contained in:
Eric D. Rohler 2021-06-20 10:25:43 -04:00
parent 285c50b9bf
commit 11f2ec778e

View File

@ -19,15 +19,7 @@ $vscode_user_settings_path = "$($app_data)\Code\User\settings.json"
Write-Host "VS Code User Settings Path: $($vscode_user_settings_path)" Write-Host "VS Code User Settings Path: $($vscode_user_settings_path)"
# Cmder Config Directory # Cmder Config Directory
$cmder_root $cmder_root = "$($env:USERPROFILE)\Cmder"
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" Write-Host "Cmder Config Directory: $($cmder_root)\config"
$cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml" $cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml"