Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: !!$ unitialized at first prompt
- X-seq: zsh-workers 28288
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: Re: !!$ unitialized at first prompt
- Date: Fri, 24 Sep 2010 13:48:03 +0200
- 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=
- In-reply-to: <alpine.LNX.2.01.1009240037470.4754@hp>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <alpine.LNX.2.01.1009232317460.4754@hp> <alpine.LNX.2.01.1009240037470.4754@hp>
On 24 September 2010 06:43, Benjamin R. Haskell <zsh@xxxxxxxxxx> 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><ctrl-c>
>> echo xb'y
>>
>
> The words are definitely split wrong. Not just '$':
>
> first-shell$ echo 'a b' 'c d'
> a b c d
> first-shell$ <ctrl-d>
>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author