-
-
Save wildiney/79f8b842e201033673cfde81a5f96e3b to your computer and use it in GitHub Desktop.
Powershell - oh my posh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Baixar o powershell: https://learn.microsoft.com/pt-br/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#winget | |
- NerdFont: https://www.nerdfonts.com/font-downloads | |
- Oh My Posh: https://ohmyposh.dev/ | |
- Criar arquivo de config: .$PROFILE ou code $PROFILE | |
- Instalar PSReadline: Install-Module PSReadLine -AllowPrerelease -Force | |
- Instalar icones: Import-Module -Name Terminal-Icons | |
- Apelido para comandos: | |
function executeArtisanCli { | |
php artisan $args | |
} | |
Set-Alias -Name pa -Value executeArtisanCli | |
- Autocomplete: Set-PSReadLineOption -PredictionViewStyle ListView | |
Meu arquivo de config completo: | |
oh-my-posh init pwsh --config 'C:/Users/MUDE-AQUI-SEU-NOME/AppData/Local/Programs/oh-my-posh/themes/atomic.omp.json' | Invoke-Expression | |
Set-PSReadLineOption -PredictionViewStyle ListView | |
function executeArtisanCli { | |
php artisan $args | |
} | |
Set-Alias -Name pa -Value executeArtisanCli | |
Import-Module -Name Terminal-Icons |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment