summaryrefslogtreecommitdiff
path: root/themes/bureau.zsh-theme
diff options
context:
space:
mode:
authorClemens Werther <cl3m3ns@gmail.com>2014-01-03 14:43:31 +0100
committerncanceill <nicolas.canceill@ens-cachan.org>2014-06-08 14:04:50 +0200
commit999bd355f75f699fc227af025d7f7d508685f7de (patch)
treec5d9d46a0908962ec3dbf3e6783f566f86f413cd /themes/bureau.zsh-theme
parent50fe95a69e471345f20fb88ae62e14ada43c134a (diff)
downloadzsh-999bd355f75f699fc227af025d7f7d508685f7de.tar.gz
zsh-999bd355f75f699fc227af025d7f7d508685f7de.tar.bz2
zsh-999bd355f75f699fc227af025d7f7d508685f7de.zip
fix root mode not working in bureau
Diffstat (limited to 'themes/bureau.zsh-theme')
-rw-r--r--themes/bureau.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/bureau.zsh-theme b/themes/bureau.zsh-theme
index 4d9cae0cc..443d1d5ee 100644
--- a/themes/bureau.zsh-theme
+++ b/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