Skip to content

Instantly share code, notes, and snippets.

View iNViTiON's full-sized avatar

MiX iNViTiON

View GitHub Profile
@iNViTiON
iNViTiON / github-copilot-cli-alias.ps1
Created April 14, 2023 05:09
Setup GitHub Copilot CLI alias for PowerShell
Function copilot_check-response {
if ( $Args[0] -eq $true ) {
$FIXED_CMD = Get-Content $TMPFILE
Remove-Item $TMPFILE -ErrorAction SilentlyContinue
Invoke-Expression $FIXED_CMD
}
else {
Write-Host "User cancelled the command."
Remove-Item $TMPFILE -ErrorAction SilentlyContinue
}

Keybase proof

I hereby claim:

  • I am invition on github.
  • I am invition (https://keybase.io/invition) on keybase.
  • I have a public key ASCYXPnW5YTbpT_PXADmCIcq8-O3vaaT6RbmEi9S1o4Y4Qo

To claim this, I am signing this object: