zsh-workers
 help / color / mirror / code / Atom feed
From: greg@klanderman.net (Greg Klanderman)
To: zsh-workers@sunsite.dk (Zsh list)
Subject: alwayslastprompt problem
Date: Mon, 3 Feb 2003 17:05:52 -0500 (EST)	[thread overview]
Message-ID: <15934.59328.619062.393204@phl.itasoftware.com> (raw)


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


             reply	other threads:[~2003-02-03 22:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03 22:05 Greg Klanderman [this message]
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

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=15934.59328.619062.393204@phl.itasoftware.com \
    --to=greg@klanderman.net \
    --cc=zsh-workers@sunsite.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).