Open lanceyliao opened 3 months ago
Thanks for your report! We've pushed an update to our docs for the PowerShell setup. Please try running the following instead:
$GH_COPILOT_PROFILE = Join-Path -Path $(Split-Path -Path $PROFILE -Parent) -ChildPath "gh-copilot.ps1"
gh copilot alias -- pwsh | Out-File ( New-Item -Path $GH_COPILOT_PROFILE -Force )
echo ". `"$GH_COPILOT_PROFILE`"" >> $PROFILE
Let me know if this fixes anything!
Thanks for the reply, it didn't work.
Thanks for taking the time to fill out this out! :bow: By submitting this issue, you agree to follow our Code of Conduct.
What happened?
What did you do? What happened? What did you expect to happen?
At this point the alias doesn't take effect, and opening a new powershell window results in a bug
Versions
1.0.1
Relevant terminal output
Please copy and paste any relevant terminal output. Please check your output before submission to ensure sensitive information is redacted.