From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12557 invoked from network); 10 May 2005 03:06:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 May 2005 03:06:41 -0000 Received: (qmail 64099 invoked from network); 10 May 2005 03:06:34 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 May 2005 03:06:34 -0000 Received: (qmail 19962 invoked by alias); 10 May 2005 03:06:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8801 Received: (qmail 19952 invoked from network); 10 May 2005 03:06:28 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 May 2005 03:06:28 -0000 Received: (qmail 63194 invoked from network); 10 May 2005 03:06:28 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 10 May 2005 03:06:24 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IG9004ZN7AMAM45@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 09 May 2005 22:06:23 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j4A36LJX011838 for ; Mon, 09 May 2005 20:06:21 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j4A36LPo011837 for zsh-users@sunsite.dk; Mon, 09 May 2005 20:06:21 -0700 Date: Tue, 10 May 2005 03:06:21 +0000 From: Bart Schaefer Subject: Re: zsh login going remarkably slow In-reply-to: <20050509192122.961794BEAE@ws1-1.us4.outblaze.com> To: zsh-users@sunsite.dk Message-id: <1050510030621.ZM11836@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050509192122.961794BEAE@ws1-1.us4.outblaze.com> Comments: In reply to "Fafa Hafiz Krantz" "zsh login going remarkably slow" (May 9, 2:21pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On May 9, 2:21pm, Fafa Hafiz Krantz wrote: } } for this other box, it takes a long time for the prompt to appear. "This other box" doesn't happen to be an NFS client using the zsh installation mounted from the first box, does it? } last but not the least, i was wondering if anyone could help me } split my prompt line up. It sounds to me as if you need to go learn some more general things about shells and how command lines are parsed. The fact that you have to ask about this ... } if it's due to the whitespace below PROMPT, ... indicates that you lack a basic understanding of the syntax. Yes, it's due to the whitespace. } well i kinda want it there because it's superneat. You can't always get what you want. The closest you're going to get is this: PROMPT=$'%{\e[01;34m%}(%{\e[22;34m%}%n%{\e[01;30m%}@' PROMPT+=$'%{\e[22;34m%}%m%{\e[01;34m%})%{\e[01;34m%}%{\e[01;34m%}(' PROMPT+=$'%{\e[22;34m%}%D{%H:%M}%{\e[01;30m%}:%{\e[22;34m%}%D{%m/%d/%y}' PROMPT+=$'%{\e[01;34m%})%{\e[01;30m\e[00m%}%{\n%}%{\e[01;34m%}(' PROMPT+=$'%{\e[22;34m%}%#%{\e[01;30m%}:%{\e[22;34m%}%~%{\e[01;34m%})' PROMPT+=$'%{\e[01;30m\e[00m%} ' (Note I've deleted the backslashes from the ends of the lines.)