mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-05 23:19:51 +00:00
@@ -9,7 +9,7 @@ Y=$fg_no_bold[yellow]
|
||||
B=$fg_no_bold[blue]
|
||||
RESET=$reset_color
|
||||
|
||||
if [ "$USER" = "root" ]; then
|
||||
if [ "$USERNAME" = "root" ]; then
|
||||
PROMPTCOLOR="%{$R%}" PROMPTPREFIX="-!-";
|
||||
else
|
||||
PROMPTCOLOR="" PROMPTPREFIX="---";
|
||||
|
||||
Reference in New Issue
Block a user