zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: Oliver Kiddle <opk101@cs.york.ac.uk>
Cc: Zsh workers mailing list <zsh-workers@math.gatech.edu>
Subject: Re: Completion on cd
Date: Sun, 1 Feb 1998 18:12:11 +0300 (MSK)	[thread overview]
Message-ID: <Pine.SV4.3.95.980201180006.19055C-100000@itsrm1> (raw)
In-Reply-To: <swordfish.886344199@student.cs.york.ac.uk>

On Sun, 1 Feb 1998, Oliver Kiddle wrote:

> 
> I tracked the problem down to this line:
> 
> compctl -Tx 'C[0,*/*]' -f - 's[~]' -k users -S/ \
          ^^^^^^^^^^^^^^^^^

Yep. -T applies *before* anything else, and you just told it, that */*
must complete all files.  I am curious, if 'cd dir1/dir2/xTAB' works
correctly (that is, if pattern doesn't descend :-)

You would be probably better off by using -D flag. It allows you to
override it on per-command/per-argument basis and still be applied in
default case. In most cases it should be the same as you have, with
exception that -/ will work :-)

> There may well be a problem with this though it seems to work and I
> can't see any nasty suprises but I would strongly suggest that the
> manual is changed so that nobody else has this problem. 
> 

Sorry, in which respect? Manual *does* say, that -T is default applied
before anything else. 


> Note that the problem with cd ..[tab] beeping as opposed to completing
> to cd ../ is still there.
> 

I agree, that it must be sorted. At least, -/ must complete .. as
well.

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------




       reply	other threads:[~1998-02-01 15:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <swordfish.886344199@student.cs.york.ac.uk>
1998-02-01 15:12 ` Andrej Borsenkow [this message]
1998-02-02 13:45 Oliver Kiddle
  -- strict thread matches above, loose matches on Subject: below --
1998-02-01 15:52 Oliver Kiddle
1998-02-02  9:12 ` Peter Stephenson
     [not found] <199801280058.RAA25088@empire.Central.Sun.COM>
1998-01-28  8:54 ` Wessel Dankers

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.SV4.3.95.980201180006.19055C-100000@itsrm1 \
    --to=borsenkow.msk@sni.de \
    --cc=opk101@cs.york.ac.uk \
    --cc=zsh-workers@math.gatech.edu \
    /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).