Make GitHub Copilot CLI's alias work for Fish shell. The current Copilot CLI only supports bash, zsh and pwsh.
fisher install xerxes-2/github-copilot-cli.fish
Copy the file conf.d/github-copilot-cli.fish
to $__fish_config_dir/conf.d/
on your machine.
Identical to the original Copilot CLI Aliases for bash, zsh and pwsh.
ghcs
-gh copilot suggest
ghce
-gh copilot explain
To use your own aliases, for example, to use ,
:
alias ,s ghcs
alias ,e ghce