From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5644 invoked from network); 10 Oct 2020 19:00:37 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Oct 2020 19:00:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1602356437; b=y7KaeMZtrGtHxZZwZeSdD6eo8pb8YUnF14fiEZanawJGhJaa1IITt2XWwYhUkesVI1pD/lQKVk foBVuJd7n4NOetZWZaMuyNJe1fBH/3pg/jAT6SW4mX23RfRpI6btFF0pJgHJtY2aR64q2HfB64 zH0IClSnruuztoV1aydwbbymwdY9TOnaS4m0gjekrgeEE6Mio/EtzhorXeUv2/H/BjwVfbxCu1 WjFKL5v0wL0Zr+R/kQI1g52xdTjrO4D2swrmL4iWjBwnEIdSHAfuE5y8VFKUdN+pcLp6I011M5 3KLHt5R77xHydj1nykU4KB5xIFTIlwJblpvhaZWp8ryf6Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f44.google.com) smtp.remote-ip=209.85.167.44; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1602356437; bh=fXeDcjWojChKJLYEbRYB1e+ew6zAvL8mZFB/2BtYf74=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=fqbPmZ3zjLPb925F8Z4gQPhmip8Obn/PYtD9uLK3ZB1648U4w1KcB0DAjSlRNRFhLQT/I35wd1 9rpOTuqrccUwnx5D//3R4/kBw6BWOAOl0VIZtRbym3MUY+2XMDJfWbb6EvZQ1zXe6vvJg+Wo2/ D5quayYw/+pfEnkf7CZRhmHNEP4eNM7Ti/fKgLui7VYaXXClCVDp88roDdbp0NYYptyoGxTLuV jldblFT1kc98yMsZgYUAXMFIK8115AIzELl+js2UzVqw8HFpbpV02Jk2l/L6ySaQzHVFr7k8t0 4u7A0BZbPzReLZDFKw+jzkxN1H8pVsuFps8tStjuTpCuqA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=fXeDcjWojChKJLYEbRYB1e+ew6zAvL8mZFB/2BtYf74=; b=r9Ijp+4Zjpd0FOFs2cF+vWBWwq Xn5fKkzzVCsEtkmz1w9dJEwBslhKL2JqZUSsIKsgr7896coctSSzKojT/bFC4snfIDXuzEEBszfsU U21myUzN1zVBo+n/6TwuFs9he8D8CnTFgoXsQab/sK2BECQdNmmo51EX/RvNB4LLduyQN+nbRDTtz xIfcvn+IK+1anxr5eZRwSf0yZfuLkex66oR2CWZ0k68p4i2ZfwberkUVAeiinasK06YxeNsFDLWQ5 Fhdfx77wRgkv+N/13dIoE0xKfL4KDhWYwvStXVxunSAtlA/V6zH/3bmr2q/wgzlM0PochdY0mwNhS ikO4bcWw==; Received: from authenticated user by zero.zsh.org with local id 1kRK6d-000K5g-Ht; Sat, 10 Oct 2020 19:00:35 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f44.google.com) smtp.remote-ip=209.85.167.44; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f44.google.com ([209.85.167.44]:34452) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kRK6F-000JdG-Jw; Sat, 10 Oct 2020 19:00:13 +0000 Received: by mail-lf1-f44.google.com with SMTP id u8so14219723lff.1 for ; Sat, 10 Oct 2020 12:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fXeDcjWojChKJLYEbRYB1e+ew6zAvL8mZFB/2BtYf74=; b=UkTZWpQgckU2nsH0drvVQmiBYAiFwMLPh4eMYqq4QW1SZJ7Z63AXbx9UbL+sOpiFbY B0DhGM9Jn4TbHLjpwLh6M3jl+SVFh0jg6zk5BOHPzUQqdeB+qQg6KgtQyJ+NmVsH+fz0 XcqXMr/eMsjNHwgP/o50/LjkERcB5BX3zK5pq7hq8mAW2ODrQ56uAgLv7Ump6nnFoOeD snX4/i05OSojUX2b+AF039SMOSLUvpPY4mCpQxWYg1dN1V0zcbeo58mby4nCh8PHeJ9p 1aHOc+gNHC7whh5/r0gqF+yp65ObvUDC8MEUETSzGV3sdeQTWKYb0yISMyhZgJU5pxin PE9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=fXeDcjWojChKJLYEbRYB1e+ew6zAvL8mZFB/2BtYf74=; b=ighxGl+BMsEy1NwuddMojOEKqZ6Rnv8+V2h+G9sOGb2bp1oqeEr1V+xeQvw965RgXf iRNMbsT8lgg6JJceE9G+p265FEMZHGBrz48Ec1gb8NeiWpWklX0CDcJP+iWsYo4dcBfX eDxWj38z5U/etLkN1oNq0W9PRdbGzyosLXjmmJno5JaQWC96I4q9JqQ3guoUkH+Gu28M wUKcgkfNiftz74NzS78NdsliDNqHpMv5Fk/V5UxH9DxjDb2jEOOW0XVB3mcih5fVyg6d 89JyTeQMiAlsTN5Jynb9HZzLP16L4lRE+8/fA6QkE0HRlRT31cy9qmyiM8FrfD446Dwz qs7A== X-Gm-Message-State: AOAM53384ma+WD6Nwj7e+AloBVi1XU7MN8E2Wd8goLvEbtzTsEVE1YGD XxpmSJ87VtHNQ/+Fpji/ilZXn/bXTOIwq0uRk1TaqJYz X-Google-Smtp-Source: ABdhPJzx8YDI8IaRZopDfnO3m7nGaXcBJsBhO4ox9ZmdVNwnywShvl2A5zVn4tn3u/+HJm9SBn0CrnMQ2tUBelMvaFI= X-Received: by 2002:a19:4286:: with SMTP id p128mr5658948lfa.5.1602356410889; Sat, 10 Oct 2020 12:00:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Marlon Richert Date: Sat, 10 Oct 2020 21:59:59 +0300 Message-ID: Subject: Re: Autoload with absolute path fails To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="000000000000acb82205b155ac72" X-Seq: 26097 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --000000000000acb82205b155ac72 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually, now that I look again, he's using Zinit. The problem might be there. I'll have to test. On Sat, 10 Oct 2020 at 21:56, Marlon Richert wrote: > Hi, all! > > According to the [autoload documentation]( > http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html#index-= autoload), > one should be able to pass it an absolute path: > > > If _name_ consists of an absolute path, the function is defined to load > from the file given (searching as usual for dump files in the given > location). > > However, I have a user reporting this to fail: > https://github.com/marlonrichert/zsh-edit/issues/1 > > What could cause this to happen? It works fine for me and we are both on > Zsh 5.8. > > Cheers, > > =E2=80=94Marlon > > --000000000000acb82205b155ac72 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Actually, now that I look again, he's using Zinit= . The problem might be there. I'll have to test.

On Sat, 10 Oct 2020 at = 21:56, Marlon Richert <marlo= n.richert@gmail.com> wrote:
Hi, all!

Accor= ding to the [autoload documentation](h= ttp://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html#index-aut= oload), one should be able to pass it an absolute path:

<= div>>=C2=A0If _name_ consists of an absolute path, the function is defin= ed to load from the file given (searching as usual for dump files in the gi= ven location).

However, I have a user reporting th= is to fail:=C2=A0https://github.com/marlonrichert/zsh-edit/issues/1




--000000000000acb82205b155ac72--