How do i get screen to execute/load .zprofile when starting a new window

gnu-screenzsh

How do i get screen to execute/load .zprofile when starting a new window?

Best Answer

Put

shell -zsh

in your .screenrc, which will tell screen to start zsh as a login shell, which will in turn cause zsh to source ~/.zprofile .

Related Question