summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarios Titas <redneb@gmx.com>2020-11-30 07:39:16 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-12-01 14:15:57 +0100
commitca824f512dac614cc67d618e726582e8a4ff0f7b (patch)
tree61ef222a0890e8a832d15c80757df4bc09e0030a /app-shells
parentdev-util/shflags: Stabilize 1.2.3 amd64, #757417 (diff)
downloadgentoo-ca824f512dac614cc67d618e726582e8a4ff0f7b.tar.gz
gentoo-ca824f512dac614cc67d618e726582e8a4ff0f7b.tar.bz2
gentoo-ca824f512dac614cc67d618e726582e8a4ff0f7b.zip
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>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/files/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 8d9c29738b62..2f3dc7755455 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