From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24664 invoked by alias); 24 Sep 2010 12:12:07 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28288 Received: (qmail 9117 invoked from network); 24 Sep 2010 12:12:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.213.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=FUpDDC5LXVd422mls/6cNvHPr0iJU7CwNGecS06R688=; b=m+LTTYgqcxtoFFrb2DTK6tkGaD/P6MQSgYgGuZRtqlauimhs+49QbdhLEaNuAdMIFq 7q7KZcARPP2jaiQQfQZsoeUJm0eWUY/VX9xcGpPBP9PdfIxYzjST3SnY3bjj01ZdeCfn VJM9l5vBqfOcNn0BegzX3nPUcGUcxMTDDjR+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bJp9PIRxKGIXllod1Rte42UlXKn4ZwbH6TGrwfYMjzSfGXFyLtO5jpH5Op6aEqq7K3 NlEQW38a3v50RwJE3Vf3Y9A7rDLUb4JkhGJQnbxky524JEMy6l0qoWVIeWpvRU+y/Hut +ovfwpkCbXc/m5nTwefRY4Al6UnIC0U0Ldh04= MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 24 Sep 2010 13:48:03 +0200 Message-ID: Subject: Re: !!$ unitialized at first prompt From: Mikael Magnusson To: Zsh Workers Content-Type: text/plain; charset=UTF-8 On 24 September 2010 06:43, Benjamin R. Haskell wrote: > On Fri, 24 Sep 2010, Benjamin R. Haskell wrote: > >> # but it also doesn't expand to the correct value: >> # (without an intervening command) >> second-shell$ echo x!{$}y >> quote> >> echo xb'y >> > > The words are definitely split wrong. Not just '$': > > first-shell$ echo 'a b' 'c d' > a b c d > first-shell$ > > second-shell$ !!0-2 > echo 'a b' > a b > >> [...] >> Reproducible with HISTFILE=/tmp/testhist ZDOTDIR=/nonexistent zsh -f. Could this be related to http://thread.gmane.org/gmane.comp.shells.zsh.devel/20904 ? That also only happens when reloading history. -- Mikael Magnusson