From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8874 invoked from network); 3 Mar 2000 09:40:39 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Mar 2000 09:40:39 -0000 Received: (qmail 15497 invoked by alias); 3 Mar 2000 09:40:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9973 Received: (qmail 15483 invoked from network); 3 Mar 2000 09:40:31 -0000 Date: Fri, 3 Mar 2000 10:49:12 +0100 (CET) From: Jaime Medrano To: zsh-workers@sunsite.auc.dk Subject: PATCH: Files in prompt Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. It's very easy to use. You have to use the escape secuence: %f{file} , where file is the name of the file. With this message, I've attached the path to the code sources and the documentation. The path has been built whith diff -u against the zsh-1.1.6. Jaime Medrano Navarro overflow@eurielec.etsit.upm.es