From f95bf087566ddc3bffed7ac09a911ff2cf3e2bd5 Mon Sep 17 00:00:00 2001 From: Michele Bologna Date: Mon, 18 May 2026 09:43:38 +0200 Subject: [PATCH] refactor(michelebologna): merge color_array declaration and assignment --- themes/michelebologna.zsh-theme | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/michelebologna.zsh-theme b/themes/michelebologna.zsh-theme index b13b2caf1..13a2219fd 100644 --- a/themes/michelebologna.zsh-theme +++ b/themes/michelebologna.zsh-theme @@ -31,8 +31,7 @@ local blue="%{$fg_bold[blue]%}" local magenta="%{$fg_bold[magenta]%}" local reset="%{$reset_color%}" -local -a color_array -color_array=($green $red $cyan $yellow $blue $magenta) +local -a color_array=($green $red $cyan $yellow $blue $magenta) local username_color=$blue local hostname_color=$color_array[$[((#HOST))%6+1]] # choose hostname color based on first character