Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

completers using zstat don't work with zmodload -F zsh/stat



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