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

Re: trouble with debugging binary



On Nov 21,  9:28am, Ray Andrews wrote:
} Subject: trouble with debugging binary
}
} On 11/20/2014 10:23 PM, Bart Schaefer wrote:
} >
} > Where were they before you deleted them?
} All in
} /usr/share/zsh/functions
} /usr/share/zsh/functions/Completions
} 
} I'll restore  them. No doubt they do something important,
} but I'm not noticing their absence right now.

No, actually, they're entirely unimportant; they're just the compiled
(into zsh's internal word code) versions of the functions that share
their base name.  In some cases it can be faster to load a pre-compiled
function file, so zsh has the "zcompile" builtin for creating them.
But the chances you'd notice the difference from them not being there,
are small.

} Is there some sort of global map of everything that zsh adds to
} one's system? These *.zwc files, I had no idea they were there
} and I have no idea what they do.

As I said, they're NOT something that zsh added to the system.  It must
be that the package for your OS's stock zsh binary included them.

} I just rebuild without  " --enable-zsh-debug " and all is well.

Sadly, rebuilding without --enable-zsh-debug is sort of like removing
the batteries from your smoke detector.  There may still be a fire, but
you just aren't hearing about it any more.



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