Skip to content

Instantly share code, notes, and snippets.

@iloveitaly
Last active August 30, 2023 14:26
Show Gist options
  • Save iloveitaly/a79ffc31ef5b4785da8950055763bf52 to your computer and use it in GitHub Desktop.
Save iloveitaly/a79ffc31ef5b4785da8950055763bf52 to your computer and use it in GitHub Desktop.
zinit plugin for github-copilot-cli

Here's how to use this with zinit

zinit ice wait lucid
zinit snippet https://gist.githubusercontent.com/iloveitaly/a79ffc31ef5b4785da8950055763bf52/raw/4140dd8fa63011cdd30814f2fbfc5b52c2052245/github-copilot-cli.zsh

Install with:

npm install -g @githubnext/github-copilot-cli
# make sure you execute this *after* asdf or other version managers are loaded
if (( $+commands[github-copilot-cli] )); then
eval "$(github-copilot-cli alias -- "$0")"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment