a227f134a5
Once before installing/updating to prepare _zmodule_xargs, and once after modules are updated, so functions and scripts can be found inside them. Installation of Zim from scratch was failing because all modules are empty at first.
9 lines
225 B
Plaintext
9 lines
225 B
Plaintext
_zimfw_source_zimrc() {
|
|
local -ri _zprepare_xargs=${1}
|
|
local -i _zfailed=0
|
|
if ! source <%= home %>/.zimrc || (( _zfailed )); then
|
|
print -u2 -PR "%F{red}✗ Failed to source <%= home %>/.zimrc%f"
|
|
return 1
|
|
fi
|
|
}
|