zsh-workers
 help / color / mirror / code / Atom feed
From: John Benninghoff <John.Benninghoff@eng.sun.com>
To: zsh-list@sterling.com
Cc: John.Benninghoff@eng.sun.com
Subject: precmd() bug.
Date: Wed, 21 Jun 1995 22:24:30 -0700	[thread overview]
Message-ID: <9506220524.AA17166@geko.Eng.Sun.COM> (raw)

I am having the following problem using the precmd() function:

jb@geko zsh: precmd() { temp=$(date) }
jb@geko zsh: r vi
vi .zshrc
zsh: command not found: datevi
jb@geko zsh: unfunction precmd
jb@geko zsh: r vi
vi .zshrc
jb@geko zsh: 

When I use the r builtin and my precmd() uses the $() command substitution,
the command line appears to get confused(i.e. datevi).  I'm running
zsh2.5.03.  Is this a known problem?  Any workaround/fix?

I'm not on the zsh-list so please Cc me on any replies.

/John Benninghoff


             reply	other threads:[~1995-06-22  5:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-22  5:24 John Benninghoff [this message]
1995-06-22 10:34 ` P.Stephenson

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=9506220524.AA17166@geko.Eng.Sun.COM \
    --to=john.benninghoff@eng.sun.com \
    --cc=John.Benninghoff@Sun.COM \
    --cc=zsh-list@sterling.com \
    /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).