diff --git a/website/src/content/docs/learning-hub/cli-for-beginners/00-quick-start.md b/website/src/content/docs/learning-hub/cli-for-beginners/00-quick-start.md index e16ef1d54..fac90c0f9 100644 --- a/website/src/content/docs/learning-hub/cli-for-beginners/00-quick-start.md +++ b/website/src/content/docs/learning-hub/cli-for-beginners/00-quick-start.md @@ -3,7 +3,7 @@ title: '00 · Quick Start' description: 'Install GitHub Copilot CLI, authenticate, and verify your environment with the same flow as the source course.' authors: - GitHub Copilot Learning Hub Team -lastUpdated: 2026-03-20 +lastUpdated: 2026-05-08 --- ![Chapter 00: Quick Start](/images/learning-hub/copilot-cli-for-beginners/00/chapter-header.png) @@ -90,6 +90,31 @@ winget install GitHub.Copilot curl -fsSL https://gh.io/copilot-install | bash ``` +
+Optional: Enable shell tab completion + +Shell tab completion lets you press **Tab** to complete `copilot` subcommands, command options, and some option values. This is optional, but it can be handy once you're comfortable using the CLI. + +Copilot CLI currently supports completion scripts for Bash, Zsh, and Fish: + +```shell +# Bash, current session only +source <(copilot completion bash) + +# Bash, persistent on Linux +copilot completion bash | sudo tee /etc/bash_completion.d/copilot + +# Zsh +copilot completion zsh > "${fpath[1]}/_copilot" + +# Fish +copilot completion fish > ~/.config/fish/completions/copilot.fish +``` + +Restart your shell after adding persistent completion. PowerShell is supported for running Copilot CLI on Windows, but `copilot completion` currently supports only Bash, Zsh, and Fish. + +
+ --- ## Authentication diff --git a/website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md b/website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md index 91ca635b1..0327a96a6 100644 --- a/website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md +++ b/website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md @@ -3,7 +3,7 @@ title: '04 · Create Specialized AI Assistants' description: 'Mirror the source chapter on custom agents and custom instructions for GitHub Copilot CLI.' authors: - GitHub Copilot Learning Hub Team -lastUpdated: 2026-03-20 +lastUpdated: 2026-05-08 --- ![Chapter 04: Agents and Custom Instructions](/images/learning-hub/copilot-cli-for-beginners/04/chapter-header.png) @@ -438,7 +438,7 @@ Copilot will scan your project and create tailored instruction files. You can ed `AGENTS.md` is the recommended format. It's an [open standard](https://agents.md/) that works across Copilot and other AI coding tools. Place it in your repository root and Copilot reads it automatically. This project's own [AGENTS.md](https://github.com/github/copilot-cli-for-beginners/blob/main/AGENTS.md) is a working example. -A typical `AGENTS.md` describes your project context, code style, security requirements, and testing standards. Use `/init` to generate one, or write your own following the pattern in our example file. +A typical `AGENTS.md` describes your project context, code style, security requirements, and testing standards. Write your own following the pattern in our example file. ### Custom Instruction Files (.instructions.md)