Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Files in prompt



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