zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: Zsh Workers <zsh-workers@sunsite.auc.dk>
Subject: Re: A couple completion glitches
Date: Sun, 25 Jun 2000 01:38:07 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0006250116490.5360-100000@phong.blorf.net> (raw)
In-Reply-To: <1000624232123.ZM16787@candle.brasslantern.com>

On Sat, 24 Jun 2000, Bart Schaefer wrote:
> You DO need to set the suffix style, but you need to set it to "false".

This has an unfortuante side-effect.  It does fix the problem I
complained about, though:

    % touch ~/foo{1..3}
    % zstyle ':completion:*:expand:*' suffix false
    % ls ~/foo*<tab>

This becomes the proper:

    % ls ~/foo1 ~/foo2 ~/foo3
    ~/foo1 ~/foo2 ~/foo3
    ~/foo1   ~/foo2   ~/foo3
    ~/foo*

However, the following behaves in a very undesireable manner:

    % ls ~/foo<tab>

This becomes:

    % ls /home/wayne/foo
    /home/wayne/foo
    ~/foo

Which is not what I want at all.

It still seems strange to me that (without the above suffix option)
foo* gets glob expansion but ~/foo* does not.  Surely this should not
be the default even if this turns out (for some strange reason) not to
be a bug.

BTW, thanks for pointing out the "group-name" setting.  I think that
might be what I will choose to use (and it is reflected in the above
menu-completion output).

..wayne..


  reply	other threads:[~2000-06-25  8:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-24 19:54 Wayne Davison
2000-06-24 23:00 ` Bart Schaefer
2000-06-24 23:21   ` Bart Schaefer
2000-06-25  8:38     ` Wayne Davison [this message]
2000-06-25 17:01       ` Bart Schaefer
2000-06-25  2:21   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0006250116490.5360-100000@phong.blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).