Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completers using zstat don't work with zmodload -F zsh/stat
- X-seq: zsh-workers 29613
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: completers using zstat don't work with zmodload -F zsh/stat
- Date: Tue, 26 Jul 2011 21:09:22 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ap8Q/fSoCjpOVMwtIGu0Jj0fwYmtUhfQS92B0Ud5j9E=; b=oJ62Fzt3DrdefuxZw3H9I/rOFLvp9Y8IsVTN8yJxJHyTnnzfK4AkxLUVLM42DO2PQH CvgQrXe30x3tm0CVwDNtM4pFcwn+TjqEkv1O1nrYwofOqodHRoz3cGqwJlqFFpIDVsvo 4C0dbc9sbKBSoztBjmdJcLIUKRoGLjNIVq7Us=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author