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

FW: [Cooker] zrecompile Completion/Unix fails with current install



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