← Back to context

Comment by kiitos

19 hours ago

make it work more generally via `env`

    env IS_SANDBOX=1 claude --dangerously-skip-permissions

not all shells support FOO=bar prefixes, in particular fish does not, but the above works everywhere

This might have been the case for fish shell; but not anymore, it works in current version. I myself have used the popular syntax without specifying `env` in my aliases.