From: Jaime Medrano <overflow@eurielec.etsit.upm.es>
To: Zefram <zefram@fysh.org>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Files in prompt
Date: Fri, 3 Mar 2000 11:21:01 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.3.96.1000303110624.9510A-100000@eurielec.eurielec.etsit.upm.es> (raw)
In-Reply-To: <E12QofA-0004dU-00@crucigera.fysh.org>
On Fri, 3 Mar 2000, Zefram wrote:
> 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
>
Mmm... I think you're right. I knew the second way, but I haven't
heard before about the PROMPT_SUBST option. So, forget this patch.
I should have read the docs twice before sending a patch.
Jaime Medrano Navarro
overflow@eurielec.etsit.upm.es
prev parent reply other threads:[~2000-03-03 10:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-03 9:49 Jaime Medrano
2000-03-03 9:46 ` Zefram
2000-03-03 10:21 ` Jaime Medrano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.96.1000303110624.9510A-100000@eurielec.eurielec.etsit.upm.es \
--to=overflow@eurielec.etsit.upm.es \
--cc=zefram@fysh.org \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).