merge method
Merge an environment.
the other object takes precedence, vars are added and paths prepended
Implementation
@override
void merge(ShellEnvironment other) {
vars.merge(other.vars);
paths.merge(other.paths);
aliases.merge(other.aliases);
}