zsh-users
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: zsh-users@zsh.org
Subject: Autoload with absolute path fails
Date: Sat, 10 Oct 2020 21:56:27 +0300	[thread overview]
Message-ID: <CAHLkEDueuR_zEqkgB68JgcCn-arLTn0e8iUqVtJsmTVY6tjfDQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

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,

—Marlon

[-- Attachment #2: Type: text/html, Size: 887 bytes --]

             reply	other threads:[~2020-10-10 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-10 18:56 Marlon Richert [this message]
2020-10-10 18:59 ` Marlon Richert
2020-10-10 19:26   ` Marlon Richert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHLkEDueuR_zEqkgB68JgcCn-arLTn0e8iUqVtJsmTVY6tjfDQ@mail.gmail.com \
    --to=marlon.richert@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).