mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
fix root mode not working in bureau
This commit is contained in:
1 parent
50fe95a69e
commit
999bd355f7
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user