Skip to content

ronaldsantos63/customize-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Personalizar windows terminal

Personalização do windows terminal

Ferramentas

Instalando ferramentas

Instalando chocolatey

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'))

Habilitar execução de scripts no powershell (Executar como administrador)

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

Instalar Scoop

iwr -useb get.scoop.sh | iex

Instalar Git Windows

winget install --id Git.Git -e --source winget

Instalar Oh My Posh

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

Configurando tudo

Configurando Windows Terminal

  1. Abrir pasta LocalState

    %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
    
  2. Copiar todos os arquivos da pasta LocalState

Configurando Profile

  1. Abrir powershell no Windows Terminal
  2. Criar arquivo Profile, apenas se não existir
New-Item -Path $PROFILE -Type File -Force
  1. Copiar todo o contéudo do arquivo Profile/profile.ps1 para o arquivo $PROFILE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published