Today I learned how to export many variable at once in Unix shells (tested in Zsh and Bash).

set -a # enable the option
var1="value1"
var2="value2"
var3="value3"
var4="value4"
set +a # disable the option

More here