Global configuration for execute shell build step

Hi all,

I need some global configuration for all shell scripts run by jenkins.
The configurations include thinks like “shopt -s expand_aliases” or “source utils.sh” and else.
What is the best way to do it?

Thanks.