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

Re: Q about zrecompile



Andrej Borsenkow wrote:

> I tried to use -p option but it does not work; I am not sure, what is
> going wrong.
> 
> bor@itsrm2% cat =zfrecomp
> #!/tools/bin/zsh -f
> 
> autoload -U zrecompile
> 
> zrecompile -p -- ~/.zsh.d/std.zwc
> /tools/share/zsh/$ZSH_VERSION/functions/*/*(^/)
> 
> bor@itsrm2% zfrecomp
> re-compiling
> /tools/share/zsh/3.1.7-pre-1/functions/Base/_arg_compile.zwc: failed

As it says... it can't compile `.../_arg_compile.zwc'. Because, going
by the name, it probably isn't a shell code file.

Use a pattern that includes only the *functions* (or scripts) you want 
to put in the zwc file(s).

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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