zsh-workers
 help / color / mirror / code / Atom feed
* alwayslastprompt problem
@ 2003-02-03 22:05 Greg Klanderman
  2003-02-04  2:57 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Klanderman @ 2003-02-03 22:05 UTC (permalink / raw)
  To: Zsh list


Hi,

In upgrading to zsh 4.0.6 I noticed the following problem:
When run, the script below does not obey alwayslastprompt.

---
#!/phl/build/zsh-4.0.6/Src/zsh -f

setopt alwayslastprompt

prompt="foo%B%%%b "
while cmd="" && vared -h -p "$prompt" cmd ; do 
  echo " -- got: $cmd"
  print -s - "$cmd"
done
---

However, if I run "zsh -f" and paste the contents, then
alwayslastprompt does work correctly (same zsh binary).

What's going on?  

Please include me in any reply as I am not on the list.

many thanks,
Greg


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-05 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 22:05 alwayslastprompt problem Greg Klanderman
2003-02-04  2:57 ` Bart Schaefer
2003-02-04  4:26   ` Greg Klanderman
2003-02-05 16:15     ` Bart Schaefer
2003-02-05 19:38       ` Greg Klanderman

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).