[BUG] Claude complains about zsh compinit at startup, and I can't type anything
Resolved 💬 8 comments Opened Jun 12, 2025 by cmf Closed Jan 6, 2026
Environment
- Platform (select one):
- [X] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.22 (Claude Code)
- Operating System: macOs 15.5
- Terminal: iTerm2
Bug Description
I just updated Claude Code. Whenever I run it now, I get output like:
~/d/scraper-benchmark> claude
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? ╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/colin/dev/scraper-benchmark │
╰───────────────────────────────────────────────────╯
※ Tip: Run claude --continue or claude --resume to resume a conversation
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > Try "refactor <filepath>" │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
? for shortcuts
Notice the zsh compinit error, which seems to be waiting for input. I'm not using zsh, I'm using fish. I can't seem to enter y or n to make that go away, and I also cannot type anything into Claude. If I type I get some transient input buffer at the bottom of the screen, but I can't use it. Enter also always enters a newline rather than sending my query.
Steps to Reproduce
- Just start Claude
Expected Behavior
Claude works.
Actual Behavior
I can't input anything
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗