1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

make zsh session vars safer

This commit is contained in:
postsolar 2024-03-12 22:13:35 +02:00
parent 017b12de5b
commit 92ec3acfcb

View File

@ -529,7 +529,7 @@ in
. "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh" . "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
# Only source this once # Only source this once
if [[ -z "$__HM_ZSH_SESS_VARS_SOURCED" ]]; then if [[ -z "''${__HM_ZSH_SESS_VARS_SOURCED-}" ]]; then
export __HM_ZSH_SESS_VARS_SOURCED=1 export __HM_ZSH_SESS_VARS_SOURCED=1
${envVarsStr} ${envVarsStr}
fi fi