Browse Source

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.
Jonathen Russell 5 years ago
parent
commit
71e4a166cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      themes/simple.zsh-theme

+ 1 - 1
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=")"