From: David Kerkeslager Date: Sat, 6 Jun 2020 15:45:11 +0000 (-0400) Subject: Fix screen/bash recursing infinitely when screen is 256-color version X-Git-Url: https://code.kerkeslager.com/?a=commitdiff_plain;h=b995ecfdd6e4cf2d79d0027dd1db8469a94c2722;p=dotfiles Fix screen/bash recursing infinitely when screen is 256-color version --- diff --git a/.bashrc b/.bashrc index 68849f7..fa3de8c 100644 --- a/.bashrc +++ b/.bashrc @@ -86,7 +86,7 @@ fi # Automatically open screen. # The if statement prevents it from recursing (since screen opens bash). -if [ $TERM != screen ]; then +if [ $TERM != screen ] && [ $TERM != screen.xterm-256color ] ; then screen fi