ensure true color support in zsh for Ghostty and other capable terminals
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
00791e39be
commit
cb3df7c03c
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user