⌨️sandbox.autoAllowBashIfSandboxed
Also known as autoAllowBashIfSandboxed
The key that skips the prompt for commands in the sandbox.
Think of it like
It is like letting a child play alone in a fenced yard. You do not need to watch each step.
Example
Jack got tired of saying yes to every ls and npm test. With the sandbox on, he turns this key on and the prompts stop.
Why it matters
It turns the fence into speed: fewer prompts, and the fence is still there.
Definition
Example code
json
{
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": true
}
}Common mistake
Key takeaways
- 1No prompt in the sandbox. Fenced is safe.
- 2Rules still apply. Deny and ask.
- 3Off by default. false.