From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id PAA02379 for ; Thu, 22 Jun 1995 15:28:46 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA12794 (5.65c/Gatech-10.0-IDA for ); Thu, 22 Jun 1995 01:27:21 -0400 Received: by math (5.x/SMI-SVR4) id AA15639; Thu, 22 Jun 1995 01:24:08 -0400 Resent-Date: Wed, 21 Jun 1995 22:24:30 -0700 Old-Return-Path: Message-Id: <9506220524.AA17166@geko.Eng.Sun.COM> Reply-To: John.Benninghoff@Sun.COM X-Mailer: MH 6.8.3 To: zsh-list@sterling.com Cc: John.Benninghoff@eng.sun.com Subject: precmd() bug. Date: Wed, 21 Jun 1995 22:24:30 -0700 From: John Benninghoff Resent-Message-Id: <"PW_Tc1.0.Hq3.tvFwl"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/109 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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