diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2021-03-31 17:13:28 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2021-03-31 17:13:28 -0600 |
commit | b6baa00fd2d8e44b5abda20f95461942b615258c (patch) | |
tree | bee316446409245d86dba5dc70502486831734d1 /themes/sunrise.zsh-theme | |
parent | 0a67be1024b1e54b6af59f01b01ceace9fdf7bb2 (diff) | |
parent | 2d40b562e5da4c885babc1f7f09aa33a8a891eb2 (diff) | |
download | zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.tar.gz zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.tar.bz2 zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'themes/sunrise.zsh-theme')
-rw-r--r-- | themes/sunrise.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/sunrise.zsh-theme b/themes/sunrise.zsh-theme index 2111576c3..11f6af127 100644 --- a/themes/sunrise.zsh-theme +++ b/themes/sunrise.zsh-theme @@ -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="---"; |