Skip to content

Commit

Permalink
app-shells/bash: bashrc: enable colors for all TERMS that end in "color"
Browse files Browse the repository at this point in the history
A bunch of terms end in values like "-256color" and "-color" to indicate
the variant that supports color.  Match all of those in the fallback case.
  • Loading branch information
vapier committed Feb 3, 2016
1 parent 43785a6 commit 03ec1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-shells/bash/files/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,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) use_color=true;;
[aEkx]term*|rxvt*|gnome*|konsole*|screen|cons25|*color) use_color=true;;
esac
fi

Expand Down

0 comments on commit 03ec1b8

Please sign in to comment.