mirror of
https://github.com/nix-community/home-manager
synced 2025-01-30 21:05:02 +01:00
make zsh session vars safer
This commit is contained in:
parent
017b12de5b
commit
92ec3acfcb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue