On Wed, Jan 06, 2010 at 12:22:10AM +0300, sergio wrote: > No. But I've realized two things. > > First is that completion system depends on non-compiled files. > compinit looks for first line to see what to do with it. > > And second is that zwc files in /usr/share/zsh/functions is not used. > mtime for Misc/zcalc is the same as for Misc.zwc, and zsh looks for great > time: > Src/parse.c, try_dump_file: > std.st_mtime > stn.st_mtime > strace confirms this.
% stat /usr/share/zsh/functions/Misc.zwc File: `/usr/share/zsh/functions/Misc.zwc' Size: 127776 Blocks: 264 IO Block: 4096 regular file Device: fe01h/65025d Inode: 164117 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-01-05 12:14:59.000000000 -0500 Modify: 2009-12-12 20:24:48.000000000 -0500 Change: 2009-12-12 20:27:31.000000000 -0500 % stat /usr/share/zsh/functions/Misc/zcalc File: `/usr/share/zsh/functions/Misc/zcalc' Size: 7131 Blocks: 16 IO Block: 4096 regular file Device: fe01h/65025d Inode: 262235 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2009-12-16 22:04:44.000000000 -0500 Modify: 2009-12-12 20:24:47.000000000 -0500 Change: 2009-12-12 20:27:30.000000000 -0500 Which architecture are you on? > Moreover may be it will be better to compile all functions in functions.zwc ? Any particular reason? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org