From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: completers using zstat don't work with zmodload -F zsh/stat
Date: Tue, 26 Jul 2011 21:09:22 +0200 [thread overview]
Message-ID: <CAHYJk3RmB+sYiUQ7BXX7qaJJ9s-NPg0JmCVB03H+_sTx+=a6Qw@mail.gmail.com> (raw)
umount for example tells me
_canonical_paths_add_paths:6: no such builtin: stat
The weird part is the completer uses zstat explicitly and doesn't
mention \<stat\> anywhere except in its zmodload line. The actual line
I'm using is zmodload -aF zsh/stat -b:stat b:zstat, but it breaks the
same with just -F and no b:*. If I zmodload zsh/stat and then 'disable
stat' it also breaks.
I just got the idea to 'which' the function, and indeed all the zstat
are magically replaced with 'builtin stat', which explains the
trouble. Why does that happen though?
--
Mikael Magnusson
next reply other threads:[~2011-07-26 19:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-26 19:09 Mikael Magnusson [this message]
2011-07-27 8:20 ` Bart Schaefer
2011-07-27 9:04 ` Mikael Magnusson
2011-07-27 16:38 ` Bart Schaefer
2011-07-27 16:44 ` Mikael Magnusson
2011-07-27 18:18 ` Bart Schaefer
2011-07-27 18:24 ` Mikael Magnusson
2011-07-27 19:32 ` Bart Schaefer
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='CAHYJk3RmB+sYiUQ7BXX7qaJJ9s-NPg0JmCVB03H+_sTx+=a6Qw@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=zsh-workers@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).