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 Posh-Git and configure Git prompt | |
| Import-Module posh-git | |
| #Import-Module ~\GitHub\dahlbyk\posh-git\src\posh-git.psd1 | |
| #Import-Module ~\GitHub\dahlbyk\posh-git\out\posh-git\1.0.0\posh-git.psd1 | |
| # Windows PowerShell doesn't parse `e or `u escape sequences in DQ strings. I added that support to the PS parser in 6.0 | |
| if ($PSVersionTable.PSVersion.Major -lt 6) { | |
| $global:GitPromptSettings.WindowTitle = { | |
| param($GitStatus, [bool]$IsAdmin) |
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
| DIR 34 | |
| LINK 33 | |
| *.exe 38;2;0;192;0 # Bold executables | |
| *.ps1 92 # PowerShell scripts | |
| *.psm1 92 # PowerShell module scripts |
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
| // This file was initially generated by Windows Terminal 0.11.1121.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
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
| $wingetCompleter = { | |
| param($wordToComplete, $commandAst, $cursorPosition) | |
| $tokens = $commandAst.Extent.Text.Trim() -split '\s+' | |
| $completions = switch ($tokens[1]) { | |
| 'install' { "-q","-m","-v","-s","-e","-i","-h","-o","-l", | |
| "--query","--manifest","--id","--name","--moniker","--version","--source","--exact","--interactive", | |
| "--silent","--log","--override","--location","--help"; break } | |
| 'search' { "-q","-s","-n","-e","-?", | |
| "--query","--id","--name","--moniker","--tag","--command","--source","--count","--exact","--help" |
OlderNewer