From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11842 invoked by alias); 12 Nov 2014 16:41:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19372 Received: (qmail 3116 invoked from network); 12 Nov 2014 16:41:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) 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 autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=i9LtPblpHmLOv2K10mVcjQ==:117 a=i9LtPblpHmLOv2K10mVcjQ==:17 a=G8GL833Es-AA:10 a=N659UExz7-8A:10 a=2u5KAewEb6E9oJYll0MA:9 a=pILNOxqGKmIA:10 Message-id: <54639C87.1080403@eastlink.ca> Date: Wed, 12 Nov 2014 09:44:39 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: first effort with git References: <5462D611.3090406@eastlink.ca> <20141112103822.1334eb39@pwslap01u.europe.root.pri> <20141112104552.3d21f540@pwslap01u.europe.root.pri> In-reply-to: <20141112104552.3d21f540@pwslap01u.europe.root.pri> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 11/12/2014 02:45 AM, Peter Stephenson wrote: Peter, see below: > > Instead, somehow you're managing to get the shell to produce the output > "HP-y5--5-Debian1# HP-y5--5-Debian1# HP-y5--5-Debian1#" before > the command line shows up. Quite likely something run from /etc/zshenv, > at least there's nothing much else it could be. > Ah, I'm being stupid: clearly > > HP-y5--5-Debian1# > > *is* the prompt. /etc/zshenv or something called from there is changing > it from the default and so it's failing to match "%*". > > pws > Here's my prompt line: # THE PROMPT: # yellow:tty red:host green:user blue:path PS1=$'\n%{\e[0;33;1m%}%l %{\e[0;31;1m%}%m %{\e[0;32;1m%}%n %{\e[0;34;1m%}%d $ %{\e[0m%}' Producing this: pts/7 HP-y5--5-Debian1 root /aMisc/zsh-5.0.7/Src $ Default prompt is: HP-y5--5-Debian1# ... but is that the default prompt? I just commented out the 'PS1' line above. I see that 'Test/B06fc.ztest' was changed. I pulled in the copy from 5.0.7, and the error disappears. That's with my usual environment.