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 5234 invoked from network); 10 Oct 2020 18:57:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Oct 2020 18:57:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1602356243; b=V4WKMO1F07B/9RXrVC+hJuJ34+AfG4scQTQroa5OxsG/hCFjhH8cw0fij3GPE9NM+g7zHayYMj Uy3XEYhirCm8b0z7wqOJw82LR0Ffd0nYcEylgTnmI8vWiNOPiEi5sBTmEkiPkAeka9b8M3z3+4 TK81aGNACRBRuoyqsEn33o0S7saIC5slG8wOAyKOsFcppsMjn2GMTJW/uQdgB5FFiwCgObl5Nf ClRtwTysiYt4EljFdM+JwHx9IzMd5Vq8Uz0Uo5v1vM7HYPgh6tayS4bPjgbf4Z3hVMijR/drPr p3qzzducubEsSXxv4EsBYVSI9wug9IkvQ+n9EEaih/5Q2A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f41.google.com) smtp.remote-ip=209.85.167.41; 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=1602356243; bh=xuLdNmeVADaEYgGOvkTejE5Ce+Lzvcy+rOTptThJmP8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=CKIeHUuxNq0gj/RMNqsxk+M042doa3v6VAOcARb+24NAAxPEJIbXVvJeKhJN7eu2hkNBIQkWYx SemV5mhvdfJ6WGhdukknhcjAyFbtSHwzMP96KQEn/TTJPcVfoy6rqyuB9CLlbHcYfsWovJyt0c 3VBQzwlk8ji0BU4EG0TfIHMivtZZ7cKLmFOrHQxXEbUQcc5p9YbpQwiNc7WYpJRGqqhnUaly2F oXxa/n8NDfBBpPLLJK7eDEtLfYLIWvrpPfmqvZX3l3FU73fpP5owQj98+y+NgqSXC5XLL3JTbu hvm0ZWZZNAR27/D3lRwxQTDFfv8yn6XOH2WmfR+tXb5z7Q==; 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: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:In-Reply-To:References; bh=xuLdNmeVADaEYgGOvkTejE5Ce+Lzvcy+rOTptThJmP8=; b=Ys5lw/X7nXb35WZuGWlGm1Kpzk hISRW/A9CXFKWneUx4g+8FG/zxAUU2KBCEPLMhXG3OJKbpQ1oYKIVvk2mjbibj/lfJgJgqnuT6div dE8uGOsbmGlPijP+ekw/YvvzGoJys0zKkAOTH42RpAKUnehqjzhhwFSJbRAf9hqLzPNTZhKaISePd BJSdbeEA4I8lm3sXej0ZzQwK5BydgwmQFxZlDfDX9VOQJR1TcUIiBQMweuPi8x83PExvNuYZ5rvST LDtTsC9QMPH76UiTHrSffdBhr0iFomcmRsIZlT8wqMm4ND5hfJKQ03SmpX20rzZ4n1BP2Xyxg4RUJ pqL3o+sQ==; Received: from authenticated user by zero.zsh.org with local id 1kRK3S-000IYY-Oj; Sat, 10 Oct 2020 18:57:18 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f41.google.com) smtp.remote-ip=209.85.167.41; 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-f41.google.com ([209.85.167.41]:34945) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kRK2p-000I1D-RA; Sat, 10 Oct 2020 18:56:40 +0000 Received: by mail-lf1-f41.google.com with SMTP id 77so3999662lfl.2 for ; Sat, 10 Oct 2020 11:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xuLdNmeVADaEYgGOvkTejE5Ce+Lzvcy+rOTptThJmP8=; b=YTftHHsX9E7K2+01mBMsEhLvfl6bMkIcYG2D8lmGKUg8tf3O81o+n7RuBinjLsNHxQ s+acLaG+EA8V5KDKdKsBFqVwjUb2DuFoxqzXJR67blXZx6KCj0HisX3+HH9Z1+dSWAiP OGBMmj6nubG65FGEOVaCs+o0vmUZo948aidF9ljpHw6q+SJdSERuSNdtBiJkqCUtntbV 5l/pW2UaSgAYfGdMyeFH0vmv8xeRgntyoTCww8OE69wbQKs3J2YjsCf3AW8vyQufognt GVVPEJ9Oqsval/277ndUj+27qiOpDl+UNP1wkTS6rbzZh7mDnZaReVCYA87MjRdy7JuM B8Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xuLdNmeVADaEYgGOvkTejE5Ce+Lzvcy+rOTptThJmP8=; b=X1Dc7jD41+c1vatfx9vPqaRy9A7E5xjGQj9lthyt4Y+efK2SmpS/oZ1p+UmHkoKFTf GS/k9kdwagDiJpRYOgYaE8uQtH8FygNqyM9ZzsaQuYeWRLlVht6LsEc55hkLC9CZZryq dHzAJOs8o9aHqA3pJMlpqlYwEzBkaU832bX08ecqgvURlYwWc2vGnIzLt8wCyQBFAEJm 1dR9O/2bAd/nGhbxbHzu/XnmeMAqMRQlJzjX3bwOgNCTCO3vxcHYiSfEFKcjv3skMR1v Cw/2mtD2ovDUt+rTsT+lr1nYpkFGcTjgiBddGDjOH+fF3QzPnGgfRfcsNzN6fpF6Q6c3 nfDQ== X-Gm-Message-State: AOAM532iElraxV+HMyLqjn0FohQCEbMN/kWL7Vx6mWCfSgQHrJ24YCwr rLm6DSE57l8GHB8uZjGs+48iPQmfRnM9WEaDyEcjfWT6Xf8= X-Google-Smtp-Source: ABdhPJx+28H4HUS79slYa2tMqwrmzims/ili5ugGLiMKd80NJBUOLh7Ntc4B+PAI/7DVOcWOoISkYQ/4glYG6nRR8Uw= X-Received: by 2002:a19:4a8a:: with SMTP id x132mr5574095lfa.423.1602356198317; Sat, 10 Oct 2020 11:56:38 -0700 (PDT) MIME-Version: 1.0 From: Marlon Richert Date: Sat, 10 Oct 2020 21:56:27 +0300 Message-ID: Subject: Autoload with absolute path fails To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="0000000000000121bf05b155a0fa" X-Seq: 26096 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: --0000000000000121bf05b155a0fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, all! According to the [autoload documentation]( http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html#index-au= toload), 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 --0000000000000121bf05b155a0fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, all!

According to the [autolo= ad documentation](http://zsh.sourceforge.net/Doc/Release= /Shell-Builtin-Commands.html#index-autoload), one should be able to pas= s it an absolute path:

>=C2=A0If _name_ consists of a= n absolute path, the function is defined to load from the file given (searc= hing as usual for dump files in the given location).

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

What could cause this to ha= ppen? It works fine for me and we are both on Zsh 5.8.

=
Cheers,

=E2=80=94Marlon

<= /div> --0000000000000121bf05b155a0fa--