Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
History !# substitutions
- X-seq: zsh-workers 1217
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: History !# substitutions
- Date: Tue, 28 May 1996 22:33:03 -0700
- Reply-to: schaefer@xxxxxxx
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"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author