Unable to reset my terminal when screen is on

I have the following in my .zshrc

if [[ $STY = '' ]] then screen -xR; fi

I made a few changes to my .zshrc.

I run unsuccessfully to see changes

reset

I also restarted my shell unsuccessfully to see the changes. This suggests me that the screen needs to be restarted somehow.

How can you restart screen such that I see the changes in my .zshrc?

Upvotes: 0

Views: 219

Answers (1)

The Unknown
The Unknown

Reputation: 19704

source ~/.zshrc

Also maybe killall screen, then just start screen again?

Upvotes: 1

Related Questions