Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
autoload +X xxx zero reference count
- X-seq: zsh-workers 54359
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: autoload +X xxx zero reference count
- Date: Wed, 15 Apr 2026 17:27:20 +0200
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=PVLZyUDFaBX/S3EJem3fU1L8uiSqH08SHgMPmFo8oeg=; fh=DSq7imBqIFzdbbKtbVCpdy8HVz0gMsj8pDLr9jpnRMA=; b=C/HoK6yVIIoRylyg0wB0yeFWKPvqo70AJRh94MBnzdP+VGQHACvvdvsQjbEvZFk9H5 jhPK43SDFefm2eS//4532x5cGm5T2OAfQL3xYeUmGcJxvfKyK+KB9awGcofBWnKs3W/x 639CBdw10wQct7/cD3d0a0YUAmhwmkSHsQMkj4GK11JPYFJn2hsaxMB7BL4tFkGlTnhg zWA36VFcaqIck4j25RVVdHkBsdk0U+4tsdR3e+yC+eVLV7tyC7Vo9Q3nVU6iHcBqm74y gUzG6rWRU3KEsNAs9xhj6iJfL5K3roDGCo2OlzYi8b3r5fTs/ycEdPMtMtWz8QWT2OXy 1BDQ==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1776266854; cv=none; d=google.com; s=arc-20240605; b=FrUUdJ6O2+JQpksOMItXBgEn/dGFHY3CTMt/YDrmcEuGTX3ehDEA4nB6uxHz2o3TXj sTUBqmfmtIkVZ2IG7SWs+dXqxSe8jgwI5qmINywoWLlwlF6TdSp322VFqfad7c9vE4PJ wcFL7UDm+nSpSzxqetMHp6xCHaY1e+1vFClDwLhyv2dIYbyAIJlxxE1c2PJhiPiO0suX Lvhnx78pxAjwuejrspjMuAlscC1k+JvIQU2LY5hVsCFLvDQPWzvm4E/Nxyi4ojqPehu2 pEeOZpzWuiCYf9t+VGIQ2N9gMNHvYUM3ZuqbMCP2gcgiG0PccaQJSlSJ6+5lgEmo+0+8 tyfQ==
- Archived-at: <https://zsh.org/workers/54359>
- List-id: <zsh-workers.zsh.org>
Hi,
I have an autoreload function that does
autoreload () {
unfunction - $@
autoload -Uz +X - $@
}
and as it turns out this doesn't work on functions that were
autoloaded with an absolute path outside of fpath. That's beside the
point though, when I tried running my autoreloaded function, I got
this error (which you simply get for any function that doesn't exist
in fpath):
exec.c:6054: function definition xxx has zero reference count
I bisected the error to 8f5fe841a63fecdab4416578653549689f2c592f but
that's simply the commit that adds the error message. I haven't
noticed any problems other than the error message itself though, but I
figured I'd mention it.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author