Another way for those who use mise. You can auto-switch accounts by directory:
~/development/account1/mise.toml:
[env]
CLAUDE_CONFIG_DIR = "{{ env.HOME }}/.claude-account1"