From 4c7978a9535b0b1ca41227d170723d21e49b0a41 Mon Sep 17 00:00:00 2001 From: Nikolas Grottendieck Date: Mon, 25 Dec 2023 15:00:40 +0100 Subject: [PATCH] sort path in bootstrap call alphabetically for easier maintenance --- bootstrap.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 771739a..2bf0be9 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -34,11 +34,11 @@ Function initPowershell function DoIt { Write-Host "Creating target directories" - New-Item -Path "$( $ENV:UserProfile )\.m2" -ItemType Directory -Force | Out-Null + New-Item -Path "$( $ENV:AppData )\Code\User" -ItemType Directory -Force | Out-Null New-Item -Path "$( $ENV:UserProfile )\.config" -ItemType Directory -Force | Out-Null + New-Item -Path "$( $ENV:UserProfile )\.m2" -ItemType Directory -Force | Out-Null New-Item -Path "$( $ENV:UserProfile )\.ssh\config.d" -ItemType Directory -Force | Out-Null New-Item -Path "$( $ENV:UserProfile )\.vim\backups", "$( $ENV:UserProfile )\.vim\colors", "$( $ENV:UserProfile )\.vim\swaps", "$( $ENV:UserProfile )\.vim\syntax", "$( $ENV:UserProfile )\.vim\undo" -ItemType Directory -Force | Out-Null - New-Item -Path "$( $ENV:AppData )\Code\User" -ItemType Directory -Force | Out-Null Write-Host "Linking files" LinkFiles "$( $PSScriptRoot )\stow\curl\" "$( $ENV:UserProfile )\"