summaryrefslogtreecommitdiff
path: root/themes/avit.zsh-theme
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2021-03-31 17:13:28 -0600
committerTuowen Zhao <ztuowen@gmail.com>2021-03-31 17:13:28 -0600
commitb6baa00fd2d8e44b5abda20f95461942b615258c (patch)
treebee316446409245d86dba5dc70502486831734d1 /themes/avit.zsh-theme
parent0a67be1024b1e54b6af59f01b01ceace9fdf7bb2 (diff)
parent2d40b562e5da4c885babc1f7f09aa33a8a891eb2 (diff)
downloadzsh-b6baa00fd2d8e44b5abda20f95461942b615258c.tar.gz
zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.tar.bz2
zsh-b6baa00fd2d8e44b5abda20f95461942b615258c.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'themes/avit.zsh-theme')
-rw-r--r--themes/avit.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme
index 921ed99d3..1e20d8f9f 100644
--- a/themes/avit.zsh-theme
+++ b/themes/avit.zsh-theme
@@ -17,7 +17,7 @@ function _user_host() {
local me
if [[ -n $SSH_CONNECTION ]]; then
me="%n@%m"
- elif [[ $LOGNAME != $USER ]]; then
+ elif [[ $LOGNAME != $USERNAME ]]; then
me="%n"
fi
if [[ -n $me ]]; then