I'm testing alacritty and it has a config where you provide the absolute path to the program and the args for the shell to run. Which would ordinarily either be /bin/bash -l or /bin/zsh -l.
The thing is that i'd like to keep my configuration the same, but some of my machines I run bash and some I run zsh. So, I'd like to use the standard program which delegates the selection of the user's shell.
Normally this seems to be /usr/bin/login, but when I specify this program, it actually prompts me for user and password, which is far from ideal.
As far as I can tell, iTerm2 does somehow use login but in a way that doesn't prompt for credentials. I wonder how I could set this up.
Actually upon some quick searching, we find that iterm actually implements its own shell launcher because of limitations seen with Apple's login. Interesting.