Browse Source

fix root mode not working in bureau

Clemens Werther 11 years ago
parent
commit
999bd355f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      themes/bureau.zsh-theme

+ 1 - 1
themes/bureau.zsh-theme

@@ -70,7 +70,7 @@ bureau_git_prompt () {
 
 _PATH="%{$fg_bold[white]%}%~%{$reset_color%}"
 
-if [[ "%#" == "#" ]]; then
+if [[ $EUID -eq 0 ]]; then
   _USERNAME="%{$fg_bold[red]%}%n"
   _LIBERTY="%{$fg[red]%}#"
 else