diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 8aebd85..359b3a5 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -4,12 +4,18 @@ # Запуск с любой машины: # iwr 'https://sc.gper.ru/tarakan/ps-profile/raw/branch/main/bootstrap.ps1' | iex +# ============================================ +# КОДИРОВКА КОНСОЛИ (до любого Write-Host) +# ============================================ +[Console]::OutputEncoding = [System.Text.Encoding]::UTF8 +$OutputEncoding = [System.Text.Encoding]::UTF8 + # ============================================ # КОНФИГУРАЦИЯ # ============================================ $PROFILE_REPO = 'https://sc.gper.ru/tarakan/ps-profile.git' -$PROFILE_DIR = Join-Path $HOME 'Documents\PowerShell\gper-profile' -$MODULES = @( +$PROFILE_DIR = Join-Path $HOME 'Documents\PowerShell\gper-profile' +$MODULES = @( 'PSReadLine', 'Terminal-Icons', 'Posh-SSH',