From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22654 invoked from network); 29 Jan 1998 13:45:31 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Jan 1998 13:45:31 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id IAA21326; Thu, 29 Jan 1998 08:21:55 -0500 (EST) Resent-Date: Thu, 29 Jan 1998 08:21:41 -0500 (EST) Message-Id: <199801291321.IAA21281@math.gatech.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: Zsh users mailing list Subject: Re: (one more) Completion question In-reply-to: Your message of "Thu, 29 Jan 1998 15:53:17 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 29 Jan 1998 13:22:56 +0000 From: Bruce Stephens Resent-Message-ID: <"ljUA3.0.hC5.b98qq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1296 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu borsenkow.msk@sni.de said: > Is it possible to reject current alt completion and move on to the > next? That is, suppose with the following: > compctl -S / -q -g '*(-/^D)' + -g '*(-/D)' + -K cdmatch cd > if I happen to have zoo in current durectory, I would like to tell > "no, I want zsh in ~/src"? On a kind of related request. I use one of the cdmatch scripts, so that cd (and pushd) complete to directories taking account of the possibility of cdpath. I'd like the completion to be a bit stickier: I quite often find myself changing to some utterly uninteresting directory because there happens to be a directory "~/src" or something, when what I really wanted was "srcs" under the current directory (but of course I pressed Return too quickly). It's not too annoying though (I can always use popd), and I'm not even sure what behaviour I'd like, exactly. Perhaps the above requested behaviour would work: I could have cd complete first to subdirectories of the current directory, and only then to things under directories in cdpath?