zsh-workers
 help / color / mirror / code / Atom feed
* completers using zstat don't work with zmodload -F zsh/stat
@ 2011-07-26 19:09 Mikael Magnusson
  2011-07-27  8:20 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Mikael Magnusson @ 2011-07-26 19:09 UTC (permalink / raw)
  To: zsh workers

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-27 19:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 19:09 completers using zstat don't work with zmodload -F zsh/stat Mikael Magnusson
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

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).