Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757711 - app-shells/bash: update /etc/bash/bashrc to support tmux
Summary: app-shells/bash: update /etc/bash/bashrc to support tmux
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PullRequest
Depends on:
Reported: 2020-11-30 05:11 UTC by redneb
Modified: 2020-12-01 13:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

patch to update the bashrc that ships with app-shells/bash (support-tmux.diff,764 bytes, patch)
2020-11-30 05:11 UTC, redneb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description redneb 2020-11-30 05:11:18 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2020-12-01 13:16:01 UTC
The bug has been closed via the following commit(s):

commit ca824f512dac614cc67d618e726582e8a4ff0f7b
Author:     Marios Titas <>
AuthorDate: 2020-11-30 05:39:16 +0000
Commit:     Lars Wendler <>
CommitDate: 2020-12-01 13:15:57 +0000

    app-shells/bash: add support for TERM=tmux in bashrc
    Signed-off-by: Marios Titas <>
    Signed-off-by: Lars Wendler <>

 app-shells/bash/files/bashrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)