Skip to content

Commit

Permalink
Set COLORTERM
Browse files Browse the repository at this point in the history
  • Loading branch information
fortes committed Nov 28, 2023
1 parent d926d25 commit 201b00b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stowed-files/bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ if ! infocmp $TERM > /dev/null 2>&1; then
fi
fi

# In these modern times, if 256 colors are supported, truecolor probably is too
if [[ -z "${COLORTERM:-}" ]] && [[ "$TERM" =~ "256color" ]]; then
export COLORTERM="truecolor"
fi

# Bash Options {{{
# cd without typing cd
shopt -qs autocd
Expand Down

0 comments on commit 201b00b

Please sign in to comment.