projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d7fad
)
Fix screen/bash recursing infinitely when screen is 256-color version
author
David Kerkeslager
<kerkeslager@gmail.com>
Sat, 6 Jun 2020 15:45:11 +0000
(11:45 -0400)
committer
David Kerkeslager
<kerkeslager@gmail.com>
Sat, 6 Jun 2020 15:45:11 +0000
(11:45 -0400)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
68849f7
..
fa3de8c
100644
(file)
--- 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