From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14996 invoked from network); 26 Mar 2002 16:41:47 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Mar 2002 16:41:47 -0000 Received: (qmail 27711 invoked by alias); 26 Mar 2002 16:41:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4784 Received: (qmail 27696 invoked from network); 26 Mar 2002 16:41:29 -0000 X-Authentication-Warning: nymos.home.hr: mpeh set sender to marijan.peh@hi.hinet.hr using -f Date: Tue, 26 Mar 2002 17:46:32 +0100 From: Marijan Peh To: zsh-users Subject: Re: My zshrc; any sugestions welcome Message-ID: <20020326174631.A831@nymos.home.hr> Mail-Followup-To: Marijan Peh , zsh-users References: <20020325175935.A1729@nymos.home.hr> <20020326103835.A175@nymos.home.hr> <1020326151112.ZM32099@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1020326151112.ZM32099@candle.brasslantern.com>; from schaefer@brasslantern.com on Tue, Mar 26, 2002 at 03:11:11PM +0000 X-Editor: VIM - Vi IMproved X-Operating-System: Linux nymos.home.hr 2.4.18-rmap On Tue, Mar 26, 2002 at 03:11:11PM +0000, Bart Schaefer wrote: > On Mar 26, 10:38am, Marijan Peh wrote: > } Subject: Re: My zshrc; any sugestions welcome > } > } > > This display just first letter of current running job. ex: > } > > I run 'top' but is shows only 't' in titlebar. > } > > } > Oh, sorry, in double quotes you need ${${(@)${(z)1}:#*[[:punct:]]*}[1]} > } > ^^^ > } > } Nope, still the same. > > Hmm, it works for me. Show us your whole command line, again? preexec () {print -Pn "\033]0;%n@%m ${${(@)${(z)1}:#*[[:punct:]]*}[1]} %~\007"} -- .~. marijan.peh@hi.hinet.hr /V\ /bin/zsh 4.1.0-dev-4 (i686-pc-linux-gnu) /( )\ Linux nymos.home.hr 2.4.18-rmap-rml #3 ^^ ^^