Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Files in prompt
- X-seq: zsh-workers 9974
- From: Zefram <zefram@xxxxxxxx>
- To: Jaime Medrano <overflow@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: Files in prompt
- Date: Fri, 3 Mar 2000 09:46:24 +0000 (GMT)
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <Pine.LNX.3.96.1000303104127.3530A-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> from Jaime Medrano at "Mar 3, 2000 10:49:12 am"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Jaime Medrano wrote:
> 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.
Does this look anything like the result of having "$(<file)" in the
prompt (with PROMPT_SUBST set), or "%v" after doing "psvar[1]=$(<file)"
in precmd?
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author