userEnvironment top-level property

Map<String, String> get userEnvironment

Get the user environment

It includes current system user environment.

It can be overriden to include user defined variables loaded from ~/.config/tekartik/process_run/env.yam

userEnvironment must be explicitly used as it could contain sensitive information.

Implementation

Map<String, String> get userEnvironment => ShellEnvironment.empty()
  ..vars.addAll(userConfig.vars)
  ..aliases.addAll(userConfig.aliases)
  ..paths.addAll(userConfig.paths);