From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9224 invoked by alias); 24 Sep 2010 12:39:45 -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: 28289 Received: (qmail 14794 invoked from network); 24 Sep 2010 12:39:43 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Fri, 24 Sep 2010 13:39:36 +0100 From: Peter Stephenson To: Zsh Workers Subject: Re: !!$ unitialized at first prompt Message-ID: <20100924133936.245765b2@pwslap01u.europe.root.pri> In-Reply-To: References: Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.9; i686-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Sep 2010 12:39:36.0444 (UTC) FILETIME=[8BFCF3C0:01CB5BE5] X-Scanned-By: MailControl A-10-90-03 (www.mailcontrol.com) on 10.71.0.123 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. -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom