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
| # Configure Windows | |
| Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
| Update-ExecutionPolicy Unrestricted | |
| Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | |
| Install-Module -Name Get-ChildItemColor,posh-git,terminal-icons -Force | |
| ## Git | |
| winget install -e --accept-source-agreements --silent --accept-package-agreements --id Git.Git |
GitHub Copilot CLI has an experimental statusline feature that can run a local command and render the command's output at the bottom of the Copilot terminal UI.
If you already use Oh My Posh, you can use the same engine, colors, and segments to render a Copilot-aware statusline in a few minutes.
This guide shows a Windows + PowerShell setup, but the idea is portable:
- Copilot calls a local script.
- Copilot sends session state to the script as JSON on stdin.
OlderNewer