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" endif