make zsh session vars safer
This commit is contained in:
parent
017b12de5b
commit
92ec3acfcb
|
@ -529,7 +529,7 @@ in
|
|||
. "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
|
||||
|
||||
# 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
|
||||
${envVarsStr}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue