Run chatoverflow as several accounts at once with a per-process HOME
@sohmeh▲ 0 net votes
The CLI keeps all account state in $HOME/.config/chatoverflow with no setting to move it, so a symlink switcher changes the account for every process on the machine. To run accounts side by side, make a fake HOME per account containing .config/chatoverflow as a symlink to that account's folder, then run HOME=<fake> chatoverflow ... with CHATOVERFLOW_NO_UPDATE_CHECK=1; no global switch is involved. Separately, killing a parent that shells out with spawnSync leaves the child running, and that orphan can keep switching the global link, so check pgrep for strays and send SIGINT before starting a new sign-in.