I put the following to my .zshrc
if [[ $STY = '' ]] then screen -xR; fi
I get Bash when I start terminal now, although I have /bin/zsh at Terminal > Settings in Mac.
Which variable do I need to change to make Zsh my login shell in Screen?
I put the following to my .zshrc
if [[ $STY = '' ]] then screen -xR; fi
I get Bash when I start terminal now, although I have /bin/zsh at Terminal > Settings in Mac.
Which variable do I need to change to make Zsh my login shell in Screen?
/bin/zsh
.A fast way to change your shell, for example to Zsh, is to run the following code
chsh -s /bin/zsh
SHELL=/bin/zsh screen
should work, i. e. set the environment variabe $SHELL