999bd355f75f699fc227af025d7f7d508685f7de
- Author
- Clemens Werther <cl3m3ns@gmail.com>
- Committer
- ncanceill <nicolas.canceill@ens-cachan.org>
- Date
Message
fix root mode not working in bureau
Diff
1diff --git a/themes/bureau.zsh-theme b/themes/bureau.zsh-theme
2index 4d9cae0cceb406967680f26435230abd7a1ffa10..443d1d5ee736621b92a2123126c2e01a2f759f95 100644
3--- a/themes/bureau.zsh-theme
4+++ b/themes/bureau.zsh-theme
5@@ -70,7 +70,7 @@ bureau_git_prompt () {
6
7 _PATH="%{$fg_bold[white]%}%~%{$reset_color%}"
8
9-if [[ "%#" == "#" ]]; then
10+if [[ $EUID -eq 0 ]]; then
11 _USERNAME="%{$fg_bold[red]%}%n"
12 _LIBERTY="%{$fg[red]%}#"
13 else