Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
FW: [Cooker] zrecompile Completion/Unix fails with current install
- X-seq: zsh-workers 15977
 
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
 
- To: ZSH Workers Mailing List <zsh-workers@xxxxxxxxxx>
 
- Subject: FW: [Cooker] zrecompile Completion/Unix fails with current install
 
- Date: Mon, 8 Oct 2001 16:36:28 +0400
 
- Importance: Normal
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
Sorry, sent to wrong list :(
> 
> I use this function to compile every subdirectory into zwc. With
current
> install it fails for Unix:
> 
> cd /tools/share/zsh/${ZSH_VERSION#zsh-}/functions
> setopt nullglob extendedglob
> pat="*~*.zwc~*.zwc.old"
> autoload -U zrecompile
> for i in . **/*(/^@); do
> tmp=( $i/$~pat(^/@) )
> (($#tmp)) && {
> zrecompile -p -- $i.zwc $i/$~pat(^/@) && chmod 644 $i.zwc
> }
> done
Messages sorted by:
Reverse Date,
Date,
Thread,
Author