Skip to content

Commit

Permalink
app-shells/bash: add support for TERM=tmux in bashrc
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/757711
Signed-off-by: Marios Titas <[email protected]>
Closes: gentoo#18453
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
redneb authored and Lars Wendler committed Dec 1, 2020
1 parent 2ce74ac commit ca824f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-shells/bash/files/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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*)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ca824f5

Please sign in to comment.