I took a look at this issue and discovered a couple of things.

First I tried to rebuild the package in Ubuntu, in case libraries or
build tools had changed in the meantime. This didn't work.

After a couple of other experiments which didn't lead anywhere
either, I started to wonder what would happen if I rebuilt the
package on Debian. So I did
$ apt source zsh-antigen
$ cd zsh-antigen-2.2.3/
$ debuild -us -uc
which gave me a newly rebuilt package on my Debian Sid system. Then
I could compare them.

This is with zsh-antigen installed from the package archives:
% grep -in "\-antigen-env-setup" /usr/share/zsh-antigen/antigen.zsh
431:-antigen-env-setup () {
2062:-antigen-env-setup

...and this is after installing the one I built locally:
% grep -in "\-antigen-env-setup" /usr/share/zsh-antigen/antigen.zsh
748:-antigen-env-setup

When I took the binary packages and unpackaged them to compare the
contents, the one built locally was missing large portions of the
code, which would explain the error message:
/usr/share/zsh-antigen/antigen.zsh:748: command not found: -antigen-env-setup

I'm not sure why this happens, but these parts seem to be
consistently missing after (re)building the package.

--
mvh / best regards
Hans Joachim Desserud
http://desserud.org

Reply via email to