github / gh-copilot

Ask for assistance right in your terminal.

Home Page:https://docs.github.com/en/copilot/github-copilot-in-the-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Alias for Fish Shell

anasmohammed361 opened this issue · comments

Support alias for fish shell

Please add this so Fish users can execute commands.

@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.

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