From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18288 invoked by alias); 18 Jan 2013 12:04:00 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17583 Received: (qmail 2280 invoked from network); 18 Jan 2013 12:03:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at samsung.com does not designate permitted sender hosts) X-AuditID: cbfec7f5-b7fd76d000007247-a5-50f937c51465 Date: Fri, 18 Jan 2013 11:53:40 +0000 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: "embedded": tips for a small(er) zsh installation size? Message-id: <20130118115340.5340c442@pwslap01u.europe.root.pri> In-reply-to: <20130118112946.3ff26f4c@pwslap01u.europe.root.pri> References: <20130118112946.3ff26f4c@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4Vd2j5j8DDHbe0LfYcXIlowOjx6qD H5gCGKO4bFJSczLLUov07RK4MpavespcsJujYk/7DtYGxjtsXYycHBICJhItl28yQ9hiEhfu rQeKc3EICSxllNiyfSE7hLOESWLegY1gVSwCqhKvXu1mArHZBAwlpm6azQhiiwiISixfsZkd xBYWcJF4duke2AZeAXuJ80uPsIDYnAIOEnu6PkENPc8ocX/HIbAEv4C+xNW/n5ggzrCXmHnl DCNEs6DEj8n3wGqYBbQkNm9rYoWw5SU2r3nLPIFRYBaSsllIymYhKVvAyLyKUTS1NLmgOCk9 10ivODG3uDQvXS85P3cTIyQMv+5gXHrM6hCjAAejEg8vp/qPACHWxLLiytxDjBIczEoivE+k fgYI8aYkVlalFuXHF5XmpBYfYmTi4JRqYLz1Z/ob7ZdfgiM91wkuCNz9YOdi2QWsc8qcMk5J 2Hw4svv5pBXfwudvffnnrOC8I90nCl4qfzRbaWnisE7rZbGngXBGRMJEz5f85qtu5ltJes76 qJ00df+vmK50jxPbGjjW3XAW1Y5ffOWzmte3o/9/1F1VWt590PGu8Jkdzna+n5ZIz+P9xsui xFKckWioxVxUnAgA/i3NByECAAA= On Fri, 18 Jan 2013 11:29:46 +0000 Peter Stephenson wrote: > On Fri, 18 Jan 2013 11:54:11 +0100 > Francisco Borges 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.) pws