From: Mikael Magnusson <mikachu@gmail.com>
To: Zsh Workers <zsh-workers@zsh.org>
Subject: Re: !!$ unitialized at first prompt
Date: Fri, 24 Sep 2010 13:48:03 +0200 [thread overview]
Message-ID: <AANLkTikvXfMnkWiZ0kay=s67X=UFhiSvhJGdU120=-6R@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1009240037470.4754@hp>
On 24 September 2010 06:43, Benjamin R. Haskell <zsh@benizi.com> 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
next prev parent reply other threads:[~2010-09-24 12:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 4:36 Benjamin R. Haskell
2010-09-24 4:43 ` Benjamin R. Haskell
2010-09-24 11:48 ` Mikael Magnusson [this message]
2010-09-24 12:39 ` Peter Stephenson
2010-09-24 14:18 ` Benjamin R. Haskell
2010-09-24 14:26 ` Peter Stephenson
2010-09-24 15:30 ` Bart Schaefer
2010-09-24 15:10 ` Bart Schaefer
2010-09-24 15:20 ` Mikael Magnusson
2010-09-24 20:12 ` Peter Stephenson
2010-09-25 6:53 ` Bart Schaefer
2010-09-25 17:26 ` Wayne Davison
2010-09-25 18:49 ` Peter Stephenson
2010-09-26 1:14 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTikvXfMnkWiZ0kay=s67X=UFhiSvhJGdU120=-6R@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).