From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9113 invoked from network); 3 Mar 2000 10:12:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Mar 2000 10:12:24 -0000 Received: (qmail 137 invoked by alias); 3 Mar 2000 10:12:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9975 Received: (qmail 123 invoked from network); 3 Mar 2000 10:12:15 -0000 Date: Fri, 3 Mar 2000 11:21:01 +0100 (CET) From: Jaime Medrano Reply-To: Jaime Medrano To: Zefram cc: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Files in prompt In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 3 Mar 2000, Zefram wrote: > Jaime Medrano wrote: > > I' ve developped a patch that allows to include the content of a file > >inside the prompt. The content is evaluated every time the prompt is > >displayed so that if the file changes, the prompt also changes. > > Does this look anything like the result of having "$( prompt (with PROMPT_SUBST set), or "%v" after doing "psvar[1]=$( in precmd? > > -zefram > Mmm... I think you're right. I knew the second way, but I haven't heard before about the PROMPT_SUBST option. So, forget this patch. I should have read the docs twice before sending a patch. Jaime Medrano Navarro overflow@eurielec.etsit.upm.es