From 647ed1deb3b711c0221bb2c826199c9b4375257f Mon Sep 17 00:00:00 2001 From: "Eric D. Rohler" Date: Sun, 20 Jun 2021 10:41:40 -0400 Subject: [PATCH] update-install-again (#2) fix install script. Co-authored-by: Eric D. Rohler Reviewed-on: https://code.ericrohler.com/edrohler/msaliases/pulls/2 Co-authored-by: Eric D. Rohler Co-committed-by: Eric D. Rohler --- install.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index b40c51c..343b8be 100644 --- a/install.ps1 +++ b/install.ps1 @@ -13,13 +13,15 @@ Write-Host "User Profile Directory: $($env:USERPROFILE)" # VS Code Directory $app_data = $env:APPDATA +New-Item -ItemType Directory -Force -Path "$($app_data)\Code\User" Write-Host "VS Code User Directory: $($app_data)\Code\User" $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 = "$($env:USERPROFILE)\Cmder" +New-Item -ItemType Directory -Force -Path "$($cmder_root)\config" Write-Host "Cmder Config Directory: $($cmder_root)\config" $cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml" @@ -36,6 +38,7 @@ Write-Host "Cmder PowerShell Profile Path: $($cmder_user_profile_ps_path)" # Neovim Config Directory $local_app_data = $env:LOCALAPPDATA +New-Item -ItemType Directory -Force -Path "$($local_app_data)\nvim" Write-Host "Neovim Init Directory: $($local_app_data)\nvim" $neovim_init_path = "$($local_app_data)\nvim\init.vim"