From d217d05374fc3c885d5fe304cea6606e2b22911a Mon Sep 17 00:00:00 2001 From: Berken Tekin Date: Tue, 8 Sep 2026 23:36:55 +0200 Subject: [PATCH] feat(strug): distinguish the root shell in the prompt (#9723) --- themes/strug.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/strug.zsh-theme b/themes/strug.zsh-theme index 89b56b008..74f69e276 100644 --- a/themes/strug.zsh-theme +++ b/themes/strug.zsh-theme @@ -4,8 +4,8 @@ export LSCOLORS=dxFxCxDxBxegedabagacad local git_branch='$(git_prompt_info)%{$reset_color%}$(git_remote_status)' -PROMPT="%{$fg[green]%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %~ %{$reset_color%}${git_branch} -%{$fg[green]%}╰\$ %{$reset_color%}" +PROMPT="%{%(#~$fg[red]~$fg[green])%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %~ %{$reset_color%}${git_branch} +%{%(#~$fg[red]~$fg[green])%}╰%(#~#~\$) %{$reset_color%}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}on " ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"