github / gh-copilot

Ask for assistance right in your terminal.
https://docs.github.com/en/copilot/github-copilot-in-the-cli
612 stars 18 forks source link

Support Alias for Fish Shell #41

Open anasmohammed361 opened 3 months ago

anasmohammed361 commented 3 months ago

Support alias for fish shell

nickmccurdy commented 3 months ago

Please add this so Fish users can execute commands.

andyfeller commented 3 months ago

@anasmohammed361 @nickmccurdy : thank you both for opening this issue! ❤ As I mention in #5 , I was waiting for this. 🤣

That said, I will admit I'm not a fish expert — there is an inside joke there — but in all seriousness I would greatly appreciate help from the community. In essence, we would want to recreate the aliases from gh copilot alias -- zsh, which some in our community might have previously built for the technical preview that could be adapted.

rcny commented 2 months ago

I've made aliases for the Fish shell that can be installed as a plugin via Fisher: https://github.com/rcny/gh-copilot-cli-alias.fish.

fisher install rcny/gh-copilot-cli-alias.fish