Skip to content

Commit 6812073

Browse files
github-actions[bot]Copilotaaronpowell
authored
[bot] sync: CLI for Beginners learning hub update (2026-05-08) (#1653)
* chore: publish from staged * sync: update CLI for Beginners learning hub (2026-05-08) - 00-quick-start: add Optional shell tab completion details section (copilot completion bash|zsh|fish commands, persistent setup) - 04-agents-and-custom-instructions: remove mention that /init generates AGENTS.md; keep 'write your own' guidance instead - Bump lastUpdated to 2026-05-08 for both pages Upstream commits synced: - 0ddfebd: docs: update course content with Copilot CLI v1.0.37-v1.0.40 features - af9965758d61: Refine Copilot CLI course updates - fbf8db99: Merge PR #109 (remove /init AGENTS.md generation mention) - 54b2b645: Merge PR #87 (fix formatting in 01-setup-and-first-steps) - 7c7acb1d: latest SHA Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * cleaning up plugin folder * Reverting the readme changes * Reverting a plugin change --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Aaron Powell <me@aaron-powell.com>
1 parent a4d0afc commit 6812073

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

website/src/content/docs/learning-hub/cli-for-beginners/00-quick-start.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: '00 · Quick Start'
33
description: 'Install GitHub Copilot CLI, authenticate, and verify your environment with the same flow as the source course.'
44
authors:
55
- GitHub Copilot Learning Hub Team
6-
lastUpdated: 2026-03-20
6+
lastUpdated: 2026-05-08
77
---
88

99
![Chapter 00: Quick Start](/images/learning-hub/copilot-cli-for-beginners/00/chapter-header.png)
@@ -90,6 +90,31 @@ winget install GitHub.Copilot
9090
curl -fsSL https://gh.io/copilot-install | bash
9191
```
9292

93+
<details>
94+
<summary>Optional: Enable shell tab completion</summary>
95+
96+
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.
97+
98+
Copilot CLI currently supports completion scripts for Bash, Zsh, and Fish:
99+
100+
```shell
101+
# Bash, current session only
102+
source <(copilot completion bash)
103+
104+
# Bash, persistent on Linux
105+
copilot completion bash | sudo tee /etc/bash_completion.d/copilot
106+
107+
# Zsh
108+
copilot completion zsh > "${fpath[1]}/_copilot"
109+
110+
# Fish
111+
copilot completion fish > ~/.config/fish/completions/copilot.fish
112+
```
113+
114+
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.
115+
116+
</details>
117+
93118
---
94119

95120
## Authentication

website/src/content/docs/learning-hub/cli-for-beginners/04-agents-and-custom-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: '04 · Create Specialized AI Assistants'
33
description: 'Mirror the source chapter on custom agents and custom instructions for GitHub Copilot CLI.'
44
authors:
55
- GitHub Copilot Learning Hub Team
6-
lastUpdated: 2026-03-20
6+
lastUpdated: 2026-05-08
77
---
88

99
![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
438438

439439
`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.
440440

441-
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.
441+
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.
442442

443443
### Custom Instruction Files (.instructions.md)
444444

0 commit comments

Comments
 (0)