Created attachment 675805 [details, diff] patch to update the bashrc that ships with app-shells/bash The support for setting TERM=tmux (or tmux-256color) has been increasing in recent years. For example, recent versions of ncurses support those two values. I have also been seeing online an increasing number of people using that value for tmux (instead of the default which is 'screen', for compatibility reasons). So I think it would be a good idea to update gentoo's /etc/bash/bashrc to include support for setting the (xterm) title under tmux. The attached trivial patch seems to be working just fine in my system.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca824f512dac614cc67d618e726582e8a4ff0f7b commit ca824f512dac614cc67d618e726582e8a4ff0f7b Author: Marios Titas <redneb@gmx.com> AuthorDate: 2020-11-30 05:39:16 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-12-01 13:15:57 +0000 app-shells/bash: add support for TERM=tmux in bashrc Closes: https://bugs.gentoo.org/757711 Signed-off-by: Marios Titas <redneb@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/18453 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> app-shells/bash/files/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)