mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
try to fix screen on macs
This commit is contained in:
parent
35d3692050
commit
0b5ca7aa48
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
# terminal fallback stuff
|
# terminal fallback stuff
|
||||||
fix_term ()
|
fix_term ()
|
||||||
{
|
{
|
||||||
|
# we were requested to go on screen and we are on a mac
|
||||||
if ( infocmp $1 >/dev/null 2>&1 ) ; then
|
if ( infocmp $1 >/dev/null 2>&1 ) ; then
|
||||||
echo $1
|
echo $1
|
||||||
else
|
else
|
||||||
|
@ -75,7 +76,7 @@ if ( command -v infocmp >/dev/null 2>&1 ) ; then
|
||||||
|
|
||||||
case $TERM in
|
case $TERM in
|
||||||
*256*)
|
*256*)
|
||||||
alias screen="screen -T `fix_term screen-256color-bce`"
|
alias screen="screen -T `fix_term xterm-256color`"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue