git/client: Don't hardcode mail domain

This commit is contained in:
Timo Makinen 2021-05-17 15:39:51 +00:00
parent d89cfb70b7
commit 5a6da68f2f

View file

@ -2,5 +2,5 @@ if ( "`git config user.name`" == "" ) then
git config --global user.name "`getent passwd '${USER}' | cut -d : -f 5`"
endif
if ( "`git config user.email`" == "" ) then
git config --global user.email "${USER}@foo.sh"
git config --global user.email "${USER}@{{ mail_domain }}"
endif