From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16094 invoked from network); 9 Jun 2004 20:55:42 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 9 Jun 2004 20:55:42 -0000 Received: (qmail 14827 invoked from network); 9 Jun 2004 20:54:58 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Jun 2004 20:54:58 -0000 Received: (qmail 913 invoked by alias); 9 Jun 2004 20:54:44 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7504 Received: (qmail 899 invoked from network); 9 Jun 2004 20:54:44 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 9 Jun 2004 20:54:41 -0000 Received: (qmail 14037 invoked from network); 9 Jun 2004 20:54:40 -0000 Received: from web60303.mail.yahoo.com (216.109.118.114) by a.mx.sunsite.dk with SMTP; 9 Jun 2004 20:54:38 -0000 Message-ID: <20040609205410.2234.qmail@web60303.mail.yahoo.com> Received: from [62.78.149.131] by web60303.mail.yahoo.com via HTTP; Wed, 09 Jun 2004 13:54:10 PDT Date: Wed, 9 Jun 2004 13:54:10 -0700 (PDT) From: Jarkko Maja Subject: Where to dump all functions/compctls/etc? To: zsh-users@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: ** X-Spam-Status: No, hits=2.5 required=6.0 tests=BAYES_50,FROM_ENDS_IN_NUMS, RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 2.5 Hi, I googled for a little while and I'm still unsure: where should I put my function definitions, completion controls, environment settings etc to minimize terminal start-up/login overhead? I think these are obvious: /etc/zshenv, ~/.zshenv: only most crucial system and user env settings /etc/logout, ~/.zlogout: stuff to be executed at logout Currently I have only a dozen lines of env settings at /etc/zshenv and ~/.zshenv both, zero at /etc/zlogout and ~/.zlogout and over 800 at ~/.zshrc ("everything"). Is there any point to move some stuff to ~/.zprofile? Are there some cases with my current setup where functions/compctls etc are read twice? Any URL to a document will do also fine. (Yes, I read man pages a couple of times, but I can't say what would be a reason to put something to ~/.zprofile and something to ~/.zshrc). Thanks in advance. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/