diff --git a/install_windows.ps1 b/install_windows.ps1 index 059eee2..400bbbc 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -49,7 +49,7 @@ Write-Host "Setting up PowerShell profile..." -ForegroundColor Cyan # Create local PowerShell profile directory $psDir = Split-Path -Path $psProfile if (-not (Test-Path $psDir)) -{ New-Item -ItemType Directory -Path $psDir +{ New-Item -ItemType Directory -Path $psDir | Out-Null } # Copy existing startup script to destination CopyFileWithPrompt "$dotfilesRepo\PowerShell\Microsoft.PowerShell_profile.ps1" $psProfile