diff options
Diffstat (limited to 'themes/sunrise.zsh-theme')
-rw-r--r-- | themes/sunrise.zsh-theme | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/themes/sunrise.zsh-theme b/themes/sunrise.zsh-theme index acc6ed312..57d2649c6 100644 --- a/themes/sunrise.zsh-theme +++ b/themes/sunrise.zsh-theme @@ -1,8 +1,5 @@ -#------------------------------------------------------------------------------- -# Sunrise theme for oh-my-zsh by Adam Lindberg (eproxus@gmail.com) +# Sunrise theme for oh-my-zsh # Intended to be used with Solarized: http://ethanschoonover.com/solarized -# (Needs Git plugin for current_branch method) -#------------------------------------------------------------------------------- # Color shortcuts R=$fg_no_bold[red] @@ -12,7 +9,7 @@ Y=$fg_no_bold[yellow] B=$fg_no_bold[blue] RESET=$reset_color -if [ "$(whoami)" = "root" ]; then +if [ "$USER" = "root" ]; then PROMPTCOLOR="%{$R%}" PREFIX="-!-"; else PROMPTCOLOR="" PREFIX="---"; |