Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: !!$ unitialized at first prompt
- X-seq: zsh-workers 28290
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- Subject: Re: !!$ unitialized at first prompt
- Date: Fri, 24 Sep 2010 10:18:23 -0400 (EDT)
- Cc: Zsh Workers <zsh-workers@xxxxxxx>
- In-reply-to: <20100924133936.245765b2@xxxxxxxxxxxxxxxxxxxxxxxxx>
- 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> <AANLkTikvXfMnkWiZ0kay=s67X=UFhiSvhJGdU120=-6R@xxxxxxxxxxxxxx> <20100924133936.245765b2@xxxxxxxxxxxxxxxxxxxxxxxxx>
On Fri, 24 Sep 2010, Peter Stephenson wrote:
The shell doesn't split words in the same way when importing history.
In normal operation it relies on the lines having been passed through
the lexical analyser to generate the words, which doesn't happen when
history is read from a file. Instead it just blindly splits on
whitespace.
Interesting.
I'm surprised it splits the history when it's read in. (I would've
expected it to read in whole command lines and only split into words
when necessary.)
But, glad there's a simple explanation.
--
Thanks,
Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author