zsh-workers
 help / color / mirror / code / Atom feed
* precmd() bug.
@ 1995-06-22  5:24 John Benninghoff
  1995-06-22 10:34 ` P.Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: John Benninghoff @ 1995-06-22  5:24 UTC (permalink / raw)
  To: zsh-list; +Cc: John.Benninghoff

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


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

end of thread, other threads:[~1995-06-22 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-06-22  5:24 precmd() bug John Benninghoff
1995-06-22 10:34 ` P.Stephenson

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