From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27471 invoked from network); 27 Jul 2001 09:22:02 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Jul 2001 09:22:02 -0000 Received: (qmail 969 invoked by alias); 27 Jul 2001 09:21:43 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4055 Received: (qmail 956 invoked from network); 27 Jul 2001 09:21:43 -0000 X-VirusChecked: Checked Sender: kiddleo@cav.logica.co.uk Message-ID: <3B61325F.DE8C33D5@u.genie.co.uk> Date: Fri, 27 Jul 2001 10:20:31 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Juhapekka Tolvanen CC: zsh-users mailing list Subject: Re: I updated my zsh-configs! References: <20010727022017.A12474@silmu.st.jyu.fi> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Juhapekka Tolvanen wrote: > > Get them right here! > > http://www.cc.jyu.fi/~juhtolv/configs/shellrc/ If you want, I can add a link to there from the zsh web pages (see http://sunsite.dk/zsh/Contrib/startup/). > Main improvement is this: Colored prompts! > > I think my prompts could be easily "converted" to zsh-prompt themes. > Should I do it? Or is someone else interested in such task? It would > be nice, if you will include my prompts to official sourcecode of Zsh. Zsh already has a prompt theme system. Have a look in the Functions/Prompts directory or try them out by typing this: autoload -U promptinit promptinit prompt oliver You might also want to look at Functions/Misc/colors as you seem to have duplicated much of it. There are certainly areas in which the current theme system can be improved though. Use of zstyle is one. I'd like to see colour schemes separated from but integrated with the prompt themes. I only use one prompt (with the minor variation that it prints the user/hostname if it is different to normal) but I use a variety of different colours (so that I can tell terminals on different hosts apart quickly). Oliver _____________________________________________________________________ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit http://www.messagelabs.com/stats.asp