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/agnoster.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/agnoster.zsh-theme')
-rw-r--r-- | themes/agnoster.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 90e603ccc..4949aa83a 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -88,7 +88,7 @@ prompt_end() { # Context: user@hostname (who am I and where am I) prompt_context() { - if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then + if [[ "$USERNAME" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then prompt_segment black default "%(!.%{%F{yellow}%}.)%n@%m" fi } |