From 11f2ec778e17d66a971350d570c878ba565fe3e5 Mon Sep 17 00:00:00 2001 From: "Eric D. Rohler" Date: Sun, 20 Jun 2021 10:25:43 -0400 Subject: [PATCH] remove add env var --- install.ps1 | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/install.ps1 b/install.ps1 index 2d048c7..759b0e2 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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)" # Cmder Config Directory -$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 -} +$cmder_root = "$($env:USERPROFILE)\Cmder" Write-Host "Cmder Config Directory: $($cmder_root)\config" $cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml"