From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id PAA12218 for ; Wed, 29 May 1996 15:42:48 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id BAA29107; Wed, 29 May 1996 01:32:41 -0400 (EDT) Resent-Date: Wed, 29 May 1996 01:32:41 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960528223307.ZM2584@candle.brasslantern.com> Date: Tue, 28 May 1996 22:33:03 -0700 Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.514 14may96) To: zsh-workers@math.gatech.edu Subject: History !# substitutions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"lCPNQ1.0.j67.v5-gn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1217 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu The !# substitution, which shuffles words from the current command line, has always been a bit flaky in zsh, but now it seems to be broken entirely. zagzig% echo foo bar !#:1 zsh: no words available from current command (It should have echoed "foo bar foo".) I'm not sure when this broke, but it was sometime before beta15-hzoli14. I suspect it's related to the behavior of "fc" in the "fed" function that was posted here a few days ago, because they both want the "current" history event, which in some sense hasn't happened yet. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"