Skip to content

Commit

Permalink
fix root mode not working in bureau
Browse files Browse the repository at this point in the history
  • Loading branch information
clashman authored and ncanceill committed Jun 8, 2014
1 parent 50fe95a commit 999bd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/bureau.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 999bd35

Please sign in to comment.