{"id":13677545,"url":"https://github.com/loiccoyle/zsh-github-copilot","last_synced_at":"2025-04-07T06:05:12.118Z","repository":{"id":221181096,"uuid":"753396740","full_name":"loiccoyle/zsh-github-copilot","owner":"loiccoyle","description":"🧠 GitHub Copilot for your command line","archived":false,"fork":false,"pushed_at":"2025-01-21T21:49:13.000Z","size":41,"stargazers_count":93,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T05:04:32.643Z","etag":null,"topics":["ai","command-line","copilot","github-copilot","llm","zsh","zsh-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loiccoyle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-06T03:10:57.000Z","updated_at":"2025-03-23T23:21:49.000Z","dependencies_parsed_at":"2024-06-25T19:35:33.988Z","dependency_job_id":"e6cedf31-d23d-4d29-b837-ff53f0c19729","html_url":"https://github.com/loiccoyle/zsh-github-copilot","commit_stats":null,"previous_names":["loiccoyle/zsh-github-copilot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fzsh-github-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fzsh-github-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fzsh-github-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fzsh-github-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loiccoyle","download_url":"https://codeload.github.com/loiccoyle/zsh-github-copilot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601447,"owners_count":20964864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","command-line","copilot","github-copilot","llm","zsh","zsh-plugin"],"created_at":"2024-08-02T13:00:43.765Z","updated_at":"2025-04-07T06:05:12.091Z","avatar_url":"https://github.com/loiccoyle.png","language":"Shell","readme":"# zsh-github-copilot\n\n\u003e A `zsh` plugin for GitHub Copilot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/7C2CYZl.gif\" alt=\"Demo gif\"\u003e\n\u003c/p\u003e\n\n## ✔️ Setup\n\nRequires the [GitHub CLI](https://github.com/cli/cli) with the [Copilot extension](https://github.com/github/gh-copilot) installed and configured.\n\n\u003e The plugin will check for the extension and other dependencies at source time, to disable this check, set the `ZSH_GH_COPILOT_NO_CHECK` environment variable to `1`.\n\n\u003e [!TIP]\n\u003e Don't forget to update the `gh-copilot` extension with `gh extension upgrade gh-copilot` from time to time.\n\n## 🚀 Installation\n\n### [antigen](https://github.com/zsh-users/antigen)\n\nAdd the following to your `.zshrc`:\n\n```zsh\nantigen bundle loiccoyle/zsh-github-copilot\n```\n\n### [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh)\n\nClone this repository into `$ZSH_CUSTOM/plugins` (by default `~/.oh-my-zsh/custom/plugins`):\n\n```zsh\ngit clone https://github.com/loiccoyle/zsh-github-copilot ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-github-copilot\n```\n\nAdd the plugin to the list of plugins for Oh My Zsh to load (inside `~/.zshrc`):\n\n```zsh\nplugins=(\n    # other plugins...\n    zsh-github-copilot\n)\n```\n\n### [zinit](https://github.com/zdharma-continuum/zinit)\n\nAdd the following to your `.zshrc`:\n\n```zsh\nzinit light loiccoyle/zsh-github-copilot\n```\n\n### [zplug](https://github.com/zplug/zplug)\n\nAdd the following to your `.zshrc`:\n\n```zsh\nzplug \"loiccoyle/zsh-github-copilot\"\n```\n\n### [zpm](https://github.com/zpm-zsh/zpm)\n\nAdd the following to your `.zshrc`:\n\n```zsh\nzpm load loiccoyle/zsh-github-copilot\n```\n\n## 🧠Usage\n\nBind the **suggest** and/or **explain** widgets:\n\n### For Linux/Windows\n\n```zsh\nbindkey '^[|' zsh_gh_copilot_explain  # bind Alt+shift+\\ to explain\nbindkey '^[\\' zsh_gh_copilot_suggest  # bind Alt+\\ to suggest\n```\n\n### For Mac\n\n```zsh\nbindkey '»' zsh_gh_copilot_explain  # bind Option+shift+\\ to explain\nbindkey '«' zsh_gh_copilot_suggest  # bind Option+\\ to suggest\n```\n\n### Explanations\n\nTo get command explanations, write out the command in your prompt and hit your keybind.\n\n### Suggestions\n\nTo get Copilot to suggest a command to fulfill a query, type out the query in your prompt and hit your suggest keybind.\n\n## 🤩 Credit\n\nThis plugin draws from [`stefanheule/zsh-llm-suggestions`](https://github.com/stefanheule/zsh-llm-suggestions)\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floiccoyle%2Fzsh-github-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floiccoyle%2Fzsh-github-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floiccoyle%2Fzsh-github-copilot/lists"}