Test for login shell in a zsh specific way