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

Re: "embedded": tips for a small(er) zsh installation size?

On Fri, 18 Jan 2013 11:29:46 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Fri, 18 Jan 2013 11:54:11 +0100
> Francisco Borges <francisco.borges@xxxxxxxxx> wrote:
> > I created zsh package for OpenWrt. So far so good. I already have an
> > "ipk" file that installs and runs properly in my router.
> > 
> > My package installs /bin/zsh and /usr/share/zsh/5.0.2/functions.
> > 
> > Right now I am installing all completion functions but that is an
> > overkill. For instance, I really do not need "Completion/AIX" for
> > one. Is there any simple way to turn off the installation of these?
> > 
> > I believe running a clever sed on "config.modules" would work, but
> > it looks like a hack.
> Editing config.modules is fine; it's designed for that.  Set "auto=no"
> in the line you are editing and it will be kept if the file is
> regenerated.

For completeness, however, as it says at the top of config.modules you
may need to run "make prep" to regenerate the files needed.  (I haven't
tried this, please do report any difficulties.)


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