You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- Adds a `yoloAlias` boolean option (default: `false`) to the
claude-code feature
- When enabled, creates a `yolo` alias that expands to `claude
--allow-dangerously-skip-permissions`
- Configures the alias for **bash** (`.bashrc`), **zsh** (`.zshrc`), and
**fish** (function file at `~/.config/fish/functions/yolo.fish`)
## Test plan
- [x] `devcontainer features validate ./src` passes
- [x] New `claude_code_yolo_alias` scenario tests pass
- [x] Existing claude-code scenarios remain green
Copy file name to clipboardExpand all lines: src/claude-code/NOTES.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,14 @@ By default, the `latest` release channel is installed. You can also specify:
13
13
14
14
The channel chosen at install time becomes the default for auto-updates.
15
15
16
+
## YOLO Alias
17
+
18
+
When `yoloAlias` is set to `true`, a `yolo` shell alias is created that expands to `claude --allow-dangerously-skip-permissions`. The alias is configured for bash, zsh, and fish.
19
+
20
+
> **Warning:**`--allow-dangerously-skip-permissions` disables Claude Code's normal permission checks and confirmation prompts for potentially sensitive actions. This meaningfully reduces safety and may allow unintended or unsafe changes, so only enable `yoloAlias` if you understand and accept the security implications.
21
+
>
22
+
> If a `yolo` alias already exists in `.bashrc`/`.zshrc`, or a `yolo.fish` function file already exists, the installer will skip adding it to avoid overwriting your setup.
23
+
16
24
## Auto-Updates
17
25
18
26
The native binary automatically updates in the background. Update checks are performed on startup and periodically while running. To disable auto-updates, set the `DISABLE_AUTOUPDATER=1` environment variable.
0 commit comments