diff options
-rw-r--r-- | .zprofile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -if type screen &>/dev/null && [[ -e ~/.screenrc-2 ]]; then +if [[ -z $DISPLAY ]] && type screen &>/dev/null && [[ -e ~/.screenrc-2 ]]; then screenname=$(screen -list | grep "screen-sh-2") if [ ! "$screenname" ]; then exec screen -S "screen-sh-2" -c ~/.screenrc-2 |