From 16fbc5f58ff88cb7f7db60d0a0d41d537a53290e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 5 Jun 2024 10:24:45 +0100 Subject: [PATCH] Silence output --- roles/home-cli/files/Microsoft.PowerShell_profile.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 index 0ecc024..f09b742 100644 --- a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 +++ b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 @@ -69,8 +69,8 @@ function Set-AcpLocale { # Get the default locale back. $AcpLocale = Get-WinUserLanguageList # Remove the British layout and add the US layout. - $AcpLocale[0].InputMethodTips.Remove("0809:00000809") - $AcpLocale[0].InputMethodTips.Add("0809:00000409") + $AcpLocale[0].InputMethodTips.Remove("0809:00000809") | Out-Null + $AcpLocale[0].InputMethodTips.Add("0809:00000409") | Out-Null # Set the locale to our customised version. Set-WinUserLanguageList -LanguageList $AcpLocale -Force # Clean up.