Created
September 9, 2023 19:38
-
-
Save jim-plus/f50e67d17cdeaa82c03ca59571a01956 to your computer and use it in GitHub Desktop.
.bashrc code snippet to auto-enable de facto 24-bit color when an xterm is detected; works with putty and cygwin terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ "$TERM" == "xterm" ]] | |
then | |
export COLORTERM=truecolor | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment