fix broken source
This commit is contained in:
parent
1bdc495b60
commit
8a103c9154
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user