Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use topo env to display or set environment variables that are used my the mzsh command. These variables are written to the script file MZ_HOME/bin/mzsh.    
The three variables MZ_PLATFORM, MZ_CONTAINER and MZ_CONTAINER_TYPEare handled differently than the rest. In order to update the value in the script file you use the parameters starting with --update-<value> as per below table. In order to both update the value in the script file and use the value immediately you will have to combine the --update-<value> parameter with the -e parameter.

Option

Description

[-e, --effective]

Use this option to read the environment parameters in runtime, i e the "effective values" after accounting for overrides. The default behaviour is to read the values as they are defineds in the mzsh script file, not accounting for the possibility to override these values with environment  variables. 

[--update-java-home <value>]

Use this option to update the value of JAVA_HOME

[--update-mz-container <value>]

Use this option to update the value of MZ_CONTAINER.

[--update-mz-home <value> ]

Use this option to update the value of MZ_HOME.

[--update-mz-platform <value> ]

Use this option to update the mzsh value of MZ_PLATFORM.

...