From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26786 invoked from network); 3 Aug 2005 23:24:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Aug 2005 23:24:36 -0000 Received: (qmail 30574 invoked from network); 3 Aug 2005 23:24:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Aug 2005 23:24:28 -0000 Received: (qmail 3207 invoked by alias); 3 Aug 2005 23:24:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9221 Received: (qmail 3193 invoked from network); 3 Aug 2005 23:24:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Aug 2005 23:24:21 -0000 Received: (qmail 29564 invoked from network); 3 Aug 2005 23:24:20 -0000 Received: from wproxy.gmail.com (64.233.184.196) by a.mx.sunsite.dk with SMTP; 3 Aug 2005 23:24:15 -0000 Received: by wproxy.gmail.com with SMTP id i13so259948wra for ; Wed, 03 Aug 2005 16:24:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WWUr/TBWvsN0PCpDfWUR5/gZ0xOe7IRi8o917BrKLYfFDdghgqA6eZzOyKQu+5gv96Q5bZREc2sjFvMC9ACh0TqEU2nXAF9xoKZhbkhQ2FxvxYqi8hggQaKWvxhN74gdsTp8CYpneWpf31jBuhUUSH7Clg3wTmh76WID3b2vml4= Received: by 10.54.56.69 with SMTP id e69mr1044708wra; Wed, 03 Aug 2005 16:24:13 -0700 (PDT) Received: by 10.54.81.7 with HTTP; Wed, 3 Aug 2005 16:24:12 -0700 (PDT) Message-ID: <7c737f3005080316242b83bd5e@mail.gmail.com> Date: Wed, 3 Aug 2005 16:24:12 -0700 From: Deliverable Mail Reply-To: Deliverable Mail To: zsh-users@sunsite.dk Subject: Re: complete paths after non-space In-Reply-To: <200508031854.j73IsdnN006237@news01.csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7c737f3005080216113bd158da@mail.gmail.com> <200508031854.j73IsdnN006237@news01.csr.com> X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.4 Apparently setopt magicequalsubst doesn't work by itself -- so I infer I'm not using compinit. How do I make sure I use it? Also for in-line ^r, bash's behavior is quite normal -- the command appears at the prompt. zsh shows the pattern under the line as well. I don't need that down-and-up, as I can see the pattern right in the line. Perhaps I'm overoptimistic, but if zsh is the superheroes' shell, it should be anything bash can be and beyond! If some people can't remember two-three chars they just typed in, and they're in denial of their ADHD, perhaps the pattern can be highlighted. Same goes for opening a bunch of stuff for completion under the line -- the 'feel' discomfort coming from bash is that you have "stuff" under the prompt line, like a wet basement, and in bash you pretty much feel the solid cement floor of the prompt. It's not jerking up-and-down suddenly. I'm using zsh in a quake-prone area, and it shows :-)... Cheers, Alexy On 8/3/05, Peter Stephenson wrote: > Deliverable Mail wrote: > > I'm migrating to zsh and find it differs subtly from bash. Three > > immediate look-'n-feel diffs I'd really need to reset to > > bash-compatible behavior... > > > > 1. completing path names with leading non-space > > > > I often want to complete filenames in options where you have things > > like --file=3D/wrong/path/name, whereby you go back and fix it, or ente= r > > new things after the non-space-starting pathname sequence > > > > Bash happily completed it while in my current zsh setup I have to > > insert/delete a space prior to the pathname. An easy way to make it > > the same? >=20 > If you're using the new completion system (compinit), turn on the option > magicequalsubst. >=20 > setopt magicequalsubst >=20 > (It's just possible it works with the old completion system, too.) >=20 > > 2. in-place ^r search > > > > -- zsh offers an underline, and I don't want it >=20 > You just have to ignore it. It's unusual enough not to want to see > what your searching for that there's no option. >=20 > > 3. completion offers must go away faster > > > > -- zsh lists them in the underline(s) and they seem to linger there > > longer than in bash, can I banish them faster? >=20 > It's possible you can do something with zle -R in one of the completion > functions, which redisplays the stuff below the line using the string > you specify (which might be empty), but I've never played around with thi= s. >=20 > You can force the shell to reprint the line below all completion > displays by >=20 > unsetopt alwayslastprompt >=20 > -- > Peter Stephenson [...]