From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6280 invoked from network); 13 Aug 2004 06:59:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Aug 2004 06:59:25 -0000 Received: (qmail 10416 invoked from network); 13 Aug 2004 06:59:19 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Aug 2004 06:59:19 -0000 Received: (qmail 4861 invoked by alias); 13 Aug 2004 06:57:09 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7823 Received: (qmail 4851 invoked from network); 13 Aug 2004 06:57:08 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 13 Aug 2004 06:57:08 -0000 Received: (qmail 5979 invoked from network); 13 Aug 2004 06:55:09 -0000 Received: from tantale.fifi.org (216.27.190.146) by a.mx.sunsite.dk with SMTP; 13 Aug 2004 06:55:08 -0000 Received: from ceramic.fifi.org (mail@ceramic.fifi.org [216.27.190.147]) by tantale.fifi.org (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id XAA17049 for ; Thu, 12 Aug 2004 23:55:05 -0700 Received: from phil by ceramic.fifi.org with local (Exim 4.22) id 1BvVxx-000817-8N for zsh-users@sunsite.dk; Thu, 12 Aug 2004 23:55:05 -0700 To: zsh-users@sunsite.dk Subject: Re: Sourcing .zshrc from .zprofile causes problems References: <7E0A2482-ECC4-11D8-A541-000A95D2C79E@kalama.no-ip.org> Mail-Copies-To: nobody From: Philippe Troin Date: 12 Aug 2004 23:55:05 -0700 In-Reply-To: Message-ID: <87n00z1q9i.fsf@ceramic.fifi.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Philippe Troin X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 Bart Schaefer writes: > On Thu, 12 Aug 2004, lists wrote: > > > if [[ -f ~/.zshrc ]]; then . ~/.zshrc ; fi > > > > in my .zprofile > > That shouldn't be necessary. The ~/.zshrc is read by all interactive > shells, and the ~/.zprofile by all login shells. Although it's possible > to create a non-interactive login shell, it's rather unlikely. CDE, for one, and some old versions of gnome use a non-interactive login shell starting the X session. Phil.