Skip to content

Commit 230d4af

Browse files
authored
Merge pull request #112 from github/feat/copilot-cli-updates-may-2026-ecf28766be4677a1
[bot] docs: add shell completion, /chronicle command, and permission persistence updates
2 parents fbf8db9 + af99657 commit 230d4af

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

00-quick-start/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,31 @@ 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+
<details>
91+
<summary>Optional: Enable shell tab completion</summary>
92+
93+
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.
94+
95+
Copilot CLI currently supports completion scripts for Bash, Zsh, and Fish:
96+
97+
```shell
98+
# Bash, current session only
99+
source <(copilot completion bash)
100+
101+
# Bash, persistent on Linux
102+
copilot completion bash | sudo tee /etc/bash_completion.d/copilot
103+
104+
# Zsh
105+
copilot completion zsh > "${fpath[1]}/_copilot"
106+
107+
# Fish
108+
copilot completion fish > ~/.config/fish/completions/copilot.fish
109+
```
110+
111+
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.
112+
113+
</details>
114+
90115
---
91116
92117
## Authentication

0 commit comments

Comments
 (0)