zsh: fix default user
This commit is contained in:
parent
948fb172a2
commit
4ab9ad7fd9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user