{"version":"2.1.335","anchor":"macos-sandbox-with-zsh-now-sets-no-bg-nice","canonical_anchor":"macos-sandbox-with-zsh-now-sets-no-bg-nice","heading":"Background commands in zsh keep normal priority under the macOS sandbox","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/macos-sandbox-with-zsh-now-sets-no-bg-nice","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Background commands in zsh keep normal priority under the macOS sandbox\n\nWith the sandbox on macOS and zsh as the shell, Claude Code now turns off zsh's lowering of priority for background jobs\n\n**What**\n\nThe sandbox limits what commands Claude runs can touch on your computer. When the sandbox is on, you are on macOS, and the shell is zsh (in `CLAUDE_CODE_SHELL_PREFIX` or in the command itself), Claude Code now adds `setopt NO_BG_NICE` to the shell setup. By default zsh lowers the priority of background jobs, so they get less processor time; this option stops that.\n\n**Why**\n\nBackground commands run under the macOS sandbox with zsh now run at normal priority instead of being slowed.\n\n- Area: Sandbox\n- Names: `CLAUDE_CODE_SHELL_PREFIX`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}