fix broken source

This commit is contained in:
accel 2021-12-20 18:03:45 +03:00
parent 1bdc495b60
commit 8a103c9154

View File

@ -100,7 +100,7 @@ function zconfig_checkload()
if [[ ! ${zconfig_loaded[(r)${1}]} ]] if [[ ! ${zconfig_loaded[(r)${1}]} ]]
then then
zbootstrap_message zbootstrap "sourcing config '$1'" zbootstrap_message zbootstrap "sourcing config '$1'"
source -- $1 2>&1 | zbootstrap_message zbootstrap # >> "${HOME}/.log/z_zbootstrap.log" . -- $1 2>&1 >(zbootstrap_message zbootstrap) # >> "${HOME}/.log/z_zbootstrap.log"
zconfig_loaded+=("$1") zconfig_loaded+=("$1")
zbootstrap_message zbootstrap "end sourcing config '$1'" zbootstrap_message zbootstrap "end sourcing config '$1'"
else else