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/avit.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/avit.zsh-theme')
-rw-r--r-- | themes/avit.zsh-theme | 2 |
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 |