[BUG] preferredName not displayed in greeting banner on macOS
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
preferredName is set in ~/.claude/settings.json but the greeting banner does not display it on macOS. The same version on a remote Linux server shows the name correctly.
What Should Happen?
preferredName set in ~/.claude/settings.json should be displayed in the greeting banner.
Welcome back 홍길동!
shown in the greeting banner.
## Working (remote Linux server)
╭─── Claude Code v2.1.79 ──────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back 홍길동! │ ... │
│ ▐▛███▜▌ │ │
│ ▝▜█████▛▘ │ │
│ ▘▘ ▝▝ │ │
│ Sonnet 4.6 · Claude Enterprise · ABCompany │ │
│ ~/works/gildong.hong │ │
╰──────────────────────────────────────────────────────────────────────────────╯
Error Messages/Logs
Banner renders without the welcome line:
▗ ▗ ▖ ▖ Claude Code v2.1.79
Opus 4.6 (1M context) · Claude Enterprise
▘▘ ▝▝ ~/works/gildong.hong
Steps to Reproduce
- Set
preferredNamein~/.claude/settings.json
{"preferredName": "Gil Dong Hong (홍길동)"}
- Start
claudeon macOS
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.79 (same on both machines)
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
- Version: v2.1.79 (same on both machines)
- OS (broken): macOS Darwin 25.3.0
- OS (working): Linux (remote server)
- Settings:
{"preferredName": "Gil Dong Hong (홍길동)"}
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗