Personalização do windows terminal
- chocolatey
- Scoop
- Git
- oh-my-posh
- PSReadline
- Cascadia Nerd Font
- Terminal Icons
- Posh-Git
- PSAutoenv
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
iwr -useb get.scoop.sh | iex
winget install --id Git.Git -e --source winget
Instalar OhMyPosh
winget install JanDeDobbeleer.OhMyPosh -s winget
Instalar PSReadline
Para Powershell 7
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
Para versões anteriores do powershell
Install-Module -Name PSReadLine -Scope CurrentUser -Force -SkipPublisherCheck
Instalar Cascadia Fonts
oh-my-posh font install
Instalar Terminal Icons
Install-Module -Name Terminal-Icons -Repository PSGallery -Scope CurrentUser
Instalar Posh-Git
Install-Module posh-git -Scope CurrentUser
Instalar PSAutoenv
Install-Module ps-autoenv
-
Abrir pasta LocalState
%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
-
Copiar todos os arquivos da pasta LocalState
- Abrir powershell no Windows Terminal
- Criar arquivo Profile, apenas se não existir
New-Item -Path $PROFILE -Type File -Force
- Copiar todo o contéudo do arquivo Profile/profile.ps1 para o arquivo $PROFILE