commit: ca824f512dac614cc67d618e726582e8a4ff0f7b Author: Marios Titas <redneb <AT> gmx <DOT> com> AuthorDate: Mon Nov 30 05:39:16 2020 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Dec 1 13:15:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca824f51
app-shells/bash: add support for TERM=tmux in bashrc Closes: https://bugs.gentoo.org/757711 Signed-off-by: Marios Titas <redneb <AT> gmx.com> Closes: https://github.com/gentoo/gentoo/pull/18453 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> app-shells/bash/files/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index 8d9c29738b6..2f3dc775545 100644 --- a/app-shells/bash/files/bashrc +++ b/app-shells/bash/files/bashrc @@ -38,7 +38,7 @@ shopt -s histappend # Change the window title of X terminals case ${TERM} in - [aEkx]term*|rxvt*|gnome*|konsole*|interix) + [aEkx]term*|rxvt*|gnome*|konsole*|interix|tmux*) PS1='\[\033]0;\u@\h:\w\007\]' ;; screen*) @@ -80,7 +80,7 @@ else # Some systems (e.g. BSD & embedded) don't typically come with # dircolors so we need to hardcode some terminals in here. case ${TERM} in - [aEkx]term*|rxvt*|gnome*|konsole*|screen|cons25|*color) use_color=true;; + [aEkx]term*|rxvt*|gnome*|konsole*|screen|tmux|cons25|*color) use_color=true;; esac fi