From 201e9dea594ea0a477370ae8dba6d09f9ae79149 Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Thu, 24 Feb 2022 13:52:52 +0100 Subject: [PATCH] fix(michelebologna): use `$HOST` variable instead of running `hostname` (#10724) --- themes/michelebologna.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/michelebologna.zsh-theme b/themes/michelebologna.zsh-theme index 7ff6a7ffe..bb567b3d8 100644 --- a/themes/michelebologna.zsh-theme +++ b/themes/michelebologna.zsh-theme @@ -40,7 +40,7 @@ local username_root_color=$red local hostname_root_color=$red # calculating hostname color with hostname characters -for i in `hostname`; local hostname_normal_color=$color_array[$[((#i))%7+1]] +for i in $HOST; local hostname_normal_color=$color_array[$[((#i))%7+1]] local -a hostname_color hostname_color=%(!.$hostname_root_color.$hostname_normal_color)