Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Alias for Fish Shell #41

Open
anasmohammed361 opened this issue Mar 22, 2024 · 7 comments
Open

Support Alias for Fish Shell #41

anasmohammed361 opened this issue Mar 22, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@anasmohammed361
Copy link

anasmohammed361 commented Mar 22, 2024

Support alias for fish shell

@nickserv
Copy link

Please add this so Fish users can execute commands.

@andyfeller
Copy link
Contributor

@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
Copy link

rcny commented Apr 26, 2024

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

@DevAtDawn
Copy link

DevAtDawn commented Aug 2, 2024

made a fix; https://github.com/DevAtDawn/gh-copilot-Fish-Alias-Support
if you add that to your fish config the alias feature will work. Currently creating an extension to simplify installation, although it might not be necessary if the fish shell version is added to the main repo

@anasmohammed361 @nickserv @andyfeller

@DevAtDawn
Copy link

DevAtDawn commented Aug 10, 2024

and heres the plugin for fish! https://github.com/DevAtDawn/gh-fish/

gh extension install devatdawn/gh-fish

@domkm
Copy link

domkm commented Aug 10, 2024

@DevAtDawn how does this differ from the one @rcny posted?

@DevAtDawn
Copy link

@DevAtDawn how does this differ from the one @rcny posted?

code replicates zsh/bash alias functionality, its a gh extension/can be installed with gh extension install, also has the option to enable interactive target selection #58 , ill be adding more features in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants