Requeriments:
Install(you will need all requirements first):
go to oh-my-posh theme's folder.
ex:
C:\Users\Usuário\Documents\PowerShell\Modules\oh-my-posh\2.0.412\Themes
and paste the Aura.psm1 you downloaded inside
Open your PowerShell profile with:
notepad $PROFILE
or
code $PROFILE
Now add the following to the end of the file like that:
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Aura
For full experience with Windows Terminal:
Open windows terminal, go to settings.
Inside "schemes":
{
"name": "Aura",
"cursorColor": "#9272DC",
"background": "#1C1B22",
"foreground": "#F8F8F2",
"black": "#21222C",
"brightBlack": "#6272A4",
"brightBlue": "#9272DC",
"brightCyan": "#63D1A9",
"brightGreen": "#69FF94",
"brightPurple": "#FF92DF",
"brightRed": "#D46A6A",
"brightWhite": "#FFFFFF",
"brightYellow": "#D7C466",
"blue": "#A277FF",
"cyan": "#63D1A9",
"green": "#9DFF65",
"purple": "#FF71E7",
"red": "#FF6767",
"white": "#F8F8F2",
"yellow": "#FFE46A"
}
now on "defaults" add this props:
{
"colorScheme": "Aura",
"cursorColor": "#9272DC",
"cursorShape": "filledBox",
"padding": "8, 0, 0, 0",
}
Políticas do Power Shell
Em alguns casos, durante a execução de comandos NPM no Windows, você poderá receber um erro com a seguinte mensagem: "O arquivo XXXX não pode ser carregado porque a execução de scripts foi desabilitada neste sistema"
Isto ocorre pois as políticas de execução do Power Shell em seu sistema não estão habilitada. Para resolver este problema, feche todos os terminais abertos e abra um novo Power Shell em modo administrador (Clicar com botão direito do mouse sobre o ícone do Power Shell e acessar a opção Executar como Administrador).
Nesta nova janela que se abriu, como administrador, execute o seguinte comando:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Feche novamente a janela e reabra o Power Shell ou qualquer terminal que esteja utilizando. Desta vez não precisa ser como administrador. O erro deve parar de acontecer.
font: Make Windows Terminal Amazing