how to access system wide environment variable in zsh code example Example: how to access system wide etc environment variable in zsh emulate sh -c 'source /etc/profile'