diff --git a/bashrc b/bashrc index 8a8c67b..768c735 100644 --- a/bashrc +++ b/bashrc @@ -53,20 +53,10 @@ if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi -#if [ -a "$TERM" == "xterm" ] ; then -# # If it's available, use vscode-direct (which supports 16 million -# # colours via the ';' sequences; required as PuTTY doesn't -# # understand the ':' sequences). -# # -# # https://chadaustin.me/2024/01/truecolor-terminal-emacs/ -# if [[ -r /usr/share/terminfo/v/vscode-direct ]] ; then -# export TERM=vscode-direct -# else -# export TERM=xterm-256color -# fi -#else -export TERM=xterm-256color -#fi +if [ -z "$TMUX_PANE" ] ; then + # Don't override tmux's terminal value. (Testing this out...) + export TERM=xterm-256color +fi # If this is an xterm set the title to user@host:dir case "$TERM" in