fix: avoid apostrophe that breaks typeset -f round-trip of :zinit-tmp-subst-autoload (#783)

This commit is contained in:
Agusti F. 2026-06-15 13:54:18 +02:00 committed by GitHub
parent c51a835a21
commit d2d4237715
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,7 +397,7 @@ builtin setopt noaliases
[[ -f $pth/$func ]] && { sel=$pth; break; }
}
if [[ -z $sel ]] {
+zi-log '{u-warn}zinit{b-warn}:{error} Couldn''t find autoload function{ehi}:' \
+zi-log '{u-warn}zinit{b-warn}:{error} Could not find autoload function{ehi}:' \
"{apo}\`{file}${func}{apo}\`{error} anywhere in {var}\$fpath{error}."
retval=1
} else {