From 5c0d0b03e824fd7348e7915fca62d5f8096a082c Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Sun, 16 Nov 2025 19:48:37 +0100 Subject: [PATCH] CHG new prompt, added sqrt to the hostname if root, colour also switches to red --- smd.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smd.zsh-theme b/smd.zsh-theme index 75c8733..4f5ed37 100644 --- a/smd.zsh-theme +++ b/smd.zsh-theme @@ -74,7 +74,7 @@ function git_time_since_commit() { } PROMPT=' -%{$fg[cyan]%}%m%{$reset_color%} 福 %{$fg[cyan]%}%~ %{$reset_color%}$(git_prompt_short_sha)$(git_prompt_info) -%{$fg[red]%}%!%{$reset_color%} $(prompt_char) ❯ ' +%(#.$fg[red].$fg[cyan])%(#.√@.)%m%{$reset_color%} 福 %{$fg[cyan]%}%~ %{$reset_color%}$(git_prompt_short_sha)$(git_prompt_info) +%{$fg[red]%}%!%{$reset_color%} $(prompt_char) %(#.$fg[red].$fg[cyan])%(#.#.⫸)%{$fg[default]%} ' RPROMPT='${return_status}$(git_time_since_commit)$(git_prompt_status)%{$reset_color%}'