Zsh Mailing List Archive
Messages sorted by:
Re: complete paths after non-space
- X-seq: zsh-users 9221
- From: Deliverable Mail <deliverable@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: complete paths after non-space
- Date: Wed, 3 Aug 2005 16:24:12 -0700
- 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=
- In-reply-to: <200508031854.j73IsdnN006237@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7c737f3005080216113bd158da@xxxxxxxxxxxxxx> <200508031854.j73IsdnN006237@xxxxxxxxxxxxxx>
- Reply-to: Deliverable Mail <deliverable@xxxxxxxxx>
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 :-)...
On 8/3/05, Peter Stephenson <pws@xxxxxxx> 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=/wrong/path/name, whereby you go back and fix it, or enter
> > 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?
> If you're using the new completion system (compinit), turn on the option
> setopt magicequalsubst
> (It's just possible it works with the old completion system, too.)
> > 2. in-place ^r search
> > -- zsh offers an underline, and I don't want it
> You just have to ignore it. It's unusual enough not to want to see
> what your searching for that there's no option.
> > 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?
> 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 this.
> You can force the shell to reprint the line below all completion
> displays by
> unsetopt alwayslastprompt
> Peter Stephenson <pws@xxxxxxx> [...]
Messages sorted by: