zsh: fix default user

This commit is contained in:
tea 2024-08-07 10:46:28 +02:00
parent 948fb172a2
commit 4ab9ad7fd9
No known key found for this signature in database

View File

@ -192,7 +192,8 @@ esac
zstyle ':vcs_info:*' enable git svn hg # vcs_info_printsys
zstyle ':vcs_info:*' check-for-changes true
DEFAULT_USER=${DEFAULT_USER:-tastytea}
grep -q tastytea /etc/passwd && DEFAULT_USER=tastytea # check for old name
DEFAULT_USER=${DEFAULT_USER:-tea}
autoload -U promptinit && promptinit
prompt tastytea