Last active
June 20, 2019 17:36
-
-
Save BenjaVR/c99d66160d54a82a223c530cf1c02aab to your computer and use it in GitHub Desktop.
Powershell config
This file contains hidden or 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
| <key name="PowershellCoreTask"> | |
| <value name="Name" type="string" data="{pwsh}"/> | |
| <value name="Flags" type="dword" data="00000005"/> | |
| <value name="Hotkey" type="dword" data="00000000"/> | |
| <value name="GuiArgs" type="string" data=""/> | |
| <value name="Active" type="long" data="0"/> | |
| <value name="Count" type="long" data="1"/> | |
| <value name="Cmd1" type="string" data="pwsh -NoLogo"/> | |
| </key> |
This file contains hidden or 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
| Install-Module posh-git -Scope CurrentUser -Force | |
| Install-Module oh-my-posh -Scope CurrentUser -Force | |
| Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck | |
| Start-Process -Path "https://github.com/ryanoasis/nerd-fonts/releases/latest" | |
| Echo "Download the 'Meslo' font, install 'Meslo LG M Regular Nerd Font Complete Mono Windows Compatible.otf', and press a key to continue." | |
| # Wait for keypress. | |
| $HOST.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") | OUT-NULL | |
| $HOST.UI.RawUI.Flushinputbuffer() | |
| Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Console" -Name "FaceName" -Value "MesloLGM NF" -Type String |
This file contains hidden or 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
| "pwsh" -NoLogo -NoProfile |
This file contains hidden or 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
| # Import modules. | |
| Import-Module posh-git | |
| Import-Module oh-my-posh | |
| # Set oh-my-posh theme. | |
| Set-Theme Paradox |
This file contains hidden or 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
| { | |
| "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6\\pwsh.exe", | |
| "terminal.integrated.shellArgs.windows": ["-NoLogo"] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment