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

zsh -n and modules



If you run zsh -n on a script which uses zsh/mathfunc, zsh will
not exec zmodload, and thus not be aware of new math syntax.

> monkey % zsh -n =vux
> /usr/bin/vux:766: unknown function: int
> /usr/bin/vux:784: bad math expression: operator expected at `h'

Is an EXEC_ZMODLOAD option in order?



Messages sorted by: Reverse Date, Date, Thread, Author