From 71e4a166cfd6c2cbd3b8ef7b48629c8cc30e10d2 Mon Sep 17 00:00:00 2001 From: Jonathen Russell Date: Mon, 2 Jul 2018 03:15:54 +1000 Subject: [PATCH] simple theme: indication of privileges (#3728) I found this quite annoying not being in this theme after switching from gentoo-theme, it's helpful and it doesn't detract from simplicity. --- themes/simple.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/simple.zsh-theme b/themes/simple.zsh-theme index a88d9d72a..8d0070ba7 100644 --- a/themes/simple.zsh-theme +++ b/themes/simple.zsh-theme @@ -1,4 +1,4 @@ -PROMPT='%{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} ' +PROMPT='%(!.%{$fg[red]%}.%{$fg[green]%})%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} ' ZSH_THEME_GIT_PROMPT_PREFIX="(" ZSH_THEME_GIT_PROMPT_SUFFIX=")"