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