gh-copilot
gh-copilot copied to clipboard
Support Alias for Fish Shell
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
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
and heres the plugin for fish! https://github.com/DevAtDawn/gh-fish/
gh extension install devatdawn/gh-fish
@DevAtDawn how does this differ from the one @rcny posted?
@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