From b9ba548966019ba77cfa7c1d4020cc746a6d1ca3 Mon Sep 17 00:00:00 2001
From: sommerfeld <sommerfeld@sommerfeld.dev>
Date: Fri, 31 Jan 2025 17:43:35 +0000
Subject: [zsh] Enable colors earlier

---
 home/.config/zsh/.zshrc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'home/.config/zsh/.zshrc')

diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc
index 58eb576..614e7f0 100644
--- a/home/.config/zsh/.zshrc
+++ b/home/.config/zsh/.zshrc
@@ -6,13 +6,14 @@ case $- in
 esac
 
 ttyctl -f
+# Enable colors and change prompt:
+autoload -U colors
+
 # shellcheck source=/dev/null
 [ -r  ~/.config/sh/shinit ] && . ~/.config/sh/shinit
 
 safesource /usr/share/git/completion/git-prompt.sh
 
-# Enable colors and change prompt:
-autoload -U colors
 colors
 setopt PROMPT_SUBST
 PROMPT='%B%{$fg[green]%}%n%{$reset_color%}@%{$fg[cyan]%}%m%{$reset_color%}:%b%{$fg[yellow]%}%~%{$reset_color%}$(__git_ps1 " (%s)")%(?..[%{$fg[red]%}%?%{$reset_color%}]) %(!.#.>) '
-- 
cgit v1.2.3-70-g09d2