Files
mesh-catalog/modules/zsh/files/zshenv
T

10 lines
551 B
Bash

# The mesh's block (module zsh, novox/hq ADR 0203, ADR 0204): the account's environment, read by
# every zsh — a login, a script, and node-login-shell's execute. Replaced at every push; everything
# outside it is yours.
# PATH keeps each directory once, wherever it was added: the session, a nested shell or a
# sourced file. Without it every nested shell prepended the same entries again.
typeset -U path PATH
if [[ -r "${machine:account-home}/.config/mesh/environment.sh" ]]; then
source "${machine:account-home}/.config/mesh/environment.sh"
fi