'Different shell for tty and SSH sessions for a single user

I use the zsh on a daily basis, and I really like its fancy prompts one can choose. And I am managing a simple Linux server, usually through ssh.

However, I sometimes need to be there locally to manually configure some stuff (things like initial installation, firewall configuration, etc), rather than through ssh. And in those cases I have to use the tty, as we have no GUI enabled (runlevel 3). The TTY does not seem to like powerline fonts, colors, and such. So I would be happy if I could just login directly to bash rather than zsh in those cases, but I am not sure how to implement it without wreaking havoc. Maybe a conditional in a file such as .profile? Or should it be somewhere else?

Needless to say, this should happen at the user level (the rest of the users are fine with bash anyway).

thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source