Обновление ohmyzsh
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Sunrise theme for oh-my-zsh
|
||||
# Intended to be used with Solarized: http://ethanschoonover.com/solarized
|
||||
# Intended to be used with Solarized: https://ethanschoonover.com/solarized
|
||||
|
||||
# Color shortcuts
|
||||
R=$fg_no_bold[red]
|
||||
@@ -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