This script enables calling the GitHub Copilot CLI installed in WSL from PowerShell to provide AI-generated command suggestions for PowerShell. It is modified based on @MattJeanes' script.
The following bash script is used to activate nvm and call github-copilot-cli
:
#!/bin/bash