{"version":"2.1.328","anchor":"ultraplanpermissions-ui-and-shell-detection-tweaks","canonical_anchor":"ultraplanpermissions-ui-and-shell-detection-tweaks","heading":"Bash detection now looks only at the shell's program name","tier":"notice","area":"Shell","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/ultraplanpermissions-ui-and-shell-detection-tweaks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Bash detection now looks only at the shell's program name\n\nClaude Code now decides your shell is bash from the program's own name rather than from anywhere in its path, and the Permissions dialog was reworked\n\n**What**\n\nClaude Code reads the `SHELL` environment variable to find which shell you use. It used to treat the shell as bash if the word \"bash\" appeared anywhere in that path. It now checks only the last part of the path, the program's own name. The Permissions dialog was also restructured, with separate handling for closing it and for discarding changes.\n\n**Why**\n\nA shell that is not bash but sits in a folder with \"bash\" in its name is no longer mistaken for bash.\n\n- Area: Shell\n- Names: `SHELL`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}