I have a RHEL 6.9 host that loses its color when starting a screen session. Vim colors and directory colors exist before starting the screen session. Here are a few settings to help troubleshoot:
- $TERM returns screen
- I am using
force_color_prompt=yesin my bashrc
echo "$(tput setaf 1)red$(tput sgr0)"successfully prints out red (in red)
Any advice on how to fix is appreciated, thanks!