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