Skip to content

scaryrawr/copilot.zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copilot.zsh

Zsh plugin for GitHub Copilot CLI.

Installation

Oh My Zsh

Clone this repository into ~/.oh-my-zsh/custom/plugins/copilot:

git clone https://github.com/scaryrawr/copilot.zsh ~/.oh-my-zsh/custom/plugins/copilot

Then add copilot to your plugins in ~/.zshrc:

plugins=(... copilot)

Manual

Clone this repository and source the plugin file:

git clone https://github.com/scaryrawr/copilot.zsh ~/.zsh/copilot.zsh
echo 'source ~/.zsh/copilot.zsh/copilot.plugin.zsh' >> ~/.zshrc

antidote

antidote install scaryrawr/copilot.zsh

Features

Completions

Full command-line completions for the copilot command, including:

  • All command-line options and flags
  • Model selection (--model, dynamically extracted from copilot --help)
  • Log levels (--log-level)
  • Streaming options (--stream)
  • Help topics
  • Directory completions for --add-dir and --log-dir

YOLO Mode

The yopilot function provides a convenient wrapper that runs Copilot in "YOLO mode" with all permissions enabled:

yopilot

This is equivalent to:

copilot --allow-all-tools --allow-all-paths

You can still pass additional arguments:

yopilot -p "fix all the bugs"
yopilot --model gpt-5

License

MIT

About

zsh completions for github copilot cli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages