Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: showing 'talk' status in PROMPT
- X-seq: zsh-users 1107
- From: Andrew Main <zefram@xxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxx (Bart Schaefer)
- Subject: Re: showing 'talk' status in PROMPT
- Date: Mon, 27 Oct 1997 18:13:24 +0000 (GMT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <971027092138.ZM3590@xxxxxxxxxxxxxxxxxxxxxxx> from "Bart Schaefer" at Oct 27, 97 09:21:38 am
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author