Disable the true-colour stuff, doesn't work well with most programs
This commit is contained in:
4
bashrc
4
bashrc
@@ -53,7 +53,7 @@ if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
|||||||
debian_chroot=$(cat /etc/debian_chroot)
|
debian_chroot=$(cat /etc/debian_chroot)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TERM" == "xterm" ] ; then
|
if [ 0 -a "$TERM" == "xterm" ] ; then
|
||||||
# If it's available, use vscode-direct (which supports 16 million
|
# If it's available, use vscode-direct (which supports 16 million
|
||||||
# colours via the ';' sequences; required as PuTTY doesn't
|
# colours via the ';' sequences; required as PuTTY doesn't
|
||||||
# understand the ':' sequences).
|
# understand the ':' sequences).
|
||||||
@@ -64,6 +64,8 @@ if [ "$TERM" == "xterm" ] ; then
|
|||||||
else
|
else
|
||||||
export TERM=xterm-256color
|
export TERM=xterm-256color
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
export TERM=xterm-256color
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If this is an xterm set the title to user@host:dir
|
# If this is an xterm set the title to user@host:dir
|
||||||
|
|||||||
Reference in New Issue
Block a user