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

precmd() bug.



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



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