diff --git a/dot_zshrc b/dot_zshrc index b15de90..37a71a2 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -1,5 +1,12 @@ autoload -Uz compinit && compinit +# Ensure true color support for capable terminals +case "$TERM" in + xterm-ghostty|xterm-kitty|wezterm|*-direct) + export COLORTERM=truecolor + ;; +esac + # Powerlevel10k instant prompt (must stay near top) if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"