From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17504 invoked from network); 27 Oct 1997 18:25:26 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Oct 1997 18:25:26 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id NAA24338; Mon, 27 Oct 1997 13:13:12 -0500 (EST) Resent-Date: Mon, 27 Oct 1997 13:12:31 -0500 (EST) From: Andrew Main Message-Id: <199710271813.SAA04292@taos.demon.co.uk> Subject: Re: showing 'talk' status in PROMPT To: schaefer@brasslantern.com (Bart Schaefer) Date: Mon, 27 Oct 1997 18:13:24 +0000 (GMT) Cc: zsh-users@math.gatech.edu In-Reply-To: <971027092138.ZM3590@candle.brasslantern.com> from "Bart Schaefer" at Oct 27, 97 09:21:38 am X-Loop: zefram@tao.co.uk X-Headers: in preparation X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"B8W7f.0.Nx5.EcDLq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1107 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Bart Schaefer wrote: > setopt localoptions nullglob > local tty > tty=( ${~TTY:s/dev/de[v]/}(I) ) local tty tty=( ${TTY}(|)(IN) ) You must use `(|)' because `()' would be treated as a function definition. Nevertheless, you only get one copy of the pathname. -zefram