Skip to content

Commit 9e6a05c

Browse files
DanWahlinCopilot
andauthored
docs(ch01): add /yolo slash command to permissions reference
Document /yolo as an interactive alias for /allow-all on, introduced in Copilot CLI v1.0.20. Key behavior: - /yolo and --yolo now behave identically - /yolo state persists across /restart Updates: - Chapter 01 slash commands table: add /yolo entry under Permissions - Appendix additional-context.md: add /yolo example in Inside a Session Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c274793 commit 9e6a05c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,11 @@ That's it for getting started! As you become comfortable, you can explore additi
413413
|---------|--------------|
414414
| `/add-dir <directory>` | Add a directory to allowed list |
415415
| `/allow-all [on|off|show]` | Auto-approve all permission prompts; use `on` to enable, `off` to disable, `show` to check current status |
416+
| `/yolo` | Quick alias for `/allow-all on` — auto-approves all permission prompts. State persists across `/restart`. |
416417
| `/cwd`, `/cd [directory]` | View or change working directory |
417418
| `/list-dirs` | Show all allowed directories |
418419

419-
> ⚠️ **Use with caution**: `/allow-all` skips confirmation prompts. Great for trusted projects, but be careful with untrusted code.
420+
> ⚠️ **Use with caution**: `/allow-all` and `/yolo` skip confirmation prompts. Great for trusted projects, but be careful with untrusted code.
420421
421422
### Session
422423

appendices/additional-context.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ copilot
111111
112112
> /list-dirs
113113
# See all allowed directories
114+
115+
> /yolo
116+
# Quick alias for /allow-all on — auto-approves all permission prompts
117+
# This state also persists across /restart, so you won't need to re-enable it
114118
```
115119

116120
### For Automation

0 commit comments

Comments
 (0)