Skip to content

Commit 0ddfebd

Browse files
DanWahlinCopilot
andauthored
docs: update course content with Copilot CLI v1.0.37-v1.0.40 features
- Add shell tab completion tip (copilot completion bash|zsh|fish) to Ch00 - Update Ch00 trust/permission wording: approvals now persist automatically by default - Add /chronicle command to Ch01 Session commands reference table Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fd7a0f9 commit 0ddfebd

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

00-quick-start/README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,21 @@ Follow these steps if you'd like to run Copilot CLI on your local machine with t
8787
curl -fsSL https://gh.io/copilot-install | bash
8888
```
8989

90+
> 💡 **Tip: Enable shell tab completion** — Once installed, you can set up tab completion so pressing **Tab** in your terminal auto-completes `copilot` commands and flags. Run the command for your shell:
91+
>
92+
> ```bash
93+
> # Bash
94+
> copilot completion bash >> ~/.bashrc && source ~/.bashrc
95+
>
96+
> # Zsh
97+
> copilot completion zsh >> ~/.zshrc && source ~/.zshrc
98+
>
99+
> # Fish
100+
> copilot completion fish > ~/.config/fish/completions/copilot.fish
101+
> ```
102+
>
103+
> After running this once, you can type `copilot ` and press **Tab** to see available subcommands, or start typing a flag like `--` and press **Tab** to auto-complete it. Entirely optional, but handy for beginners exploring the CLI.
104+
90105
---
91106

92107
## Authentication
@@ -97,7 +112,7 @@ Open a terminal window at the root of the `copilot-cli-for-beginners` repository
97112
copilot
98113
```
99114

100-
You'll be asked to trust the folder containing the repository (if you haven't already). You can trust it one time or across all future sessions.
115+
You'll be asked to trust the folder containing the repository (if you haven't already). Once you approve it, that approval is automatically saved — you won't need to re-approve the same folder in future sessions.
101116
102117
<img src="images/copilot-trust.png" alt="Trusting files in a folder with the Copilot CLI" width="800"/>
103118

01-setup-and-first-steps/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ That's it for getting started! As you become comfortable, you can explore additi
435435

436436
| Command | What It Does |
437437
|---------|--------------|
438+
| `/chronicle` | Browse your session history — view past sessions, which files you worked on, and what changed |
438439
| `/clear` | Abandons the current session (no history saved) and starts a fresh conversation |
439440
| `/compact` | Summarize conversation to reduce context usage |
440441
| `/context` | Show context window token usage and visualization |

0 commit comments

Comments
 (0)