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

Re: Prompt being evaluated multiple times when prompt_subst is set.



Sorry for the noise, just noticed that Frank Terbeck posted the same
problem in a recent thread "functions in prompts evaluated twice?".
What I can add is that the evaluation always happens three times here,
in his example the first one is for the old PROMPT, that doesn't call
"foo", so you just see two of them.


Cheers,
  Caio Marcelo



Messages sorted by: Reverse Date, Date, Thread, Author