From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23215 invoked from network); 17 Jun 1999 16:43:18 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jun 1999 16:43:18 -0000 Received: (qmail 21928 invoked by alias); 17 Jun 1999 16:42:55 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2396 Received: (qmail 21917 invoked from network); 17 Jun 1999 16:42:53 -0000 From: "Bart Schaefer" Message-Id: <990617164244.ZM5833@candle.brasslantern.com> Date: Thu, 17 Jun 1999 16:42:44 +0000 In-Reply-To: Comments: In reply to Oliver Grimm "Re: PROMPT" (Jun 17, 5:32pm) References: <9906171520.AA21502@ibmth.df.unipi.it> In-Reply-To: <9906171520.AA21502@ibmth.df.unipi.it> Comments: In reply to Peter Stephenson "Re: PROMPT" (Jun 17, 5:20pm) X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.auc.dk Subject: Re: PROMPT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 17, 5:32pm, Oliver Grimm wrote: } Subject: Re: PROMPT } } precmd () } { } if test "$UID" = 0; then } PS1="%m:`pwd -r` # " } else } PS1="%n@%m:`pwd -r` > " } fi } } } } this defines a function that is called every time anything is executed } by the shell, and so also make a change of PROMPT impossible. } } I wonder if this was intended by the designer of the profile ? I doubt that the side-effect of preventing the user from customizing his prompt was intentional. On Jun 17, 5:20pm, Peter Stephenson wrote: } Subject: Re: PROMPT } } I can hardly believe it. } } setopt chaselinks } PS1='%n@%m:%/' For completeness: PS1='%(#..%n@)%m:%/%(#.#.>) ' -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com