Skip to content

Use bash for Claude Code's Bash tool - #16

Merged
tnmt merged 1 commit into
mainfrom
DANDORI-111-claude-shell-bash
Nov 23, 2026
Merged

tnmt merged 1 commit into
mainfrom
DANDORI-111-claude-shell-bash

Conversation

@tnmt

@tnmt tnmt commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Set CLAUDE_CODE_SHELL to bashInteractive in home.sessionVariables. Claude Code 2.1.321 prefers CLAUDE_CODE_SHELL over SHELL (value must contain bash or zsh). The login shell stays zsh.

Verified: nix eval of sunflower's sessionVariables.CLAUDE_CODE_SHELL. Not applied (no rebuild).

Caveat: sessionVariables only reach sessions started from a login shell that sourced hm-session-vars. Sessions started by other means (e.g. herdr/systemd) may still use zsh.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tnmt
tnmt marked this pull request as ready for review November 23, 2026 09:01
@tnmt
tnmt merged commit e08043c into main Nov 23, 2026
7 checks passed
@tnmt
tnmt deleted the DANDORI-111-claude-shell-bash branch November 23, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant