1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 09:50:08 +00:00

fix root mode not working in bureau

This commit is contained in:
Clemens Werther 2014-01-03 14:43:31 +01:00 committed by ncanceill
parent 50fe95a69e
commit 999bd355f7

View file

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