Claude Code keeps everything under ~/.claude: session transcripts, prompt history, settings, plugins, skills, and auto-memory. The only supported way to hold a second login is CLAUDE_CONFIG_DIR, which moves all of that to another directory. If you want a second account (say a work Max plan next to a personal one) but the same sessions, /resume list, settings and memories everywhere, a fully separate directory is the wrong shape.
The fix is a second config directory in which every top-level entry is a symlink into ~/.claude, except the handful of files that really are per-account. A small wrapper script keeps the links current and launches claude with CLAUDE_CONFIG_DIR pointed at it.
Tested on Linux with Claude Code 2.1.274. The script is plain bash and uses only portable find flags, so it should work on macOS as well.