logoalt Hacker News

pandorotoday at 4:12 PM2 repliesview on HN

I use this: https://gist.github.com/KMJ-007/0979814968722051620461ab2aa0...

Simple and works great but requires one alias per account


Replies

cowlbytoday at 4:25 PM

This is great. My enhancement was to create a .claude-profile file which specifies the account alias. "claude" can be aliased to read the file, set the correct env var, and launch claude.

Another benefit was if no .claude-profile file exists, claude refuses to launch.

orliesaurustoday at 4:17 PM

simple and easy - thank you