From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 811 invoked from network); 26 Sep 1997 13:27:18 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 26 Sep 1997 13:27:18 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id JAA14952; Fri, 26 Sep 1997 09:17:16 -0400 (EDT) Resent-Date: Fri, 26 Sep 1997 09:16:48 -0400 (EDT) X-Authentication-Warning: vangogh.cs.ruu.nl: wsldanke owned process doing -bs Date: Fri, 26 Sep 1997 15:17:16 +0200 (MDT) From: Wessel Dankers To: zsh-users@math.gatech.edu Subject: Re: bash-like completion? In-Reply-To: <199709261240.NAA06849@taos.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"B5ITk3.0.8f3.0NxAq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1031 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Fri, 26 Sep 1997, Andrew Main wrote: > Karsten Thygesen wrote: > >./configure --prefix=/usr/loc > > compctl -x 's[--prefix=][--exec-prefix=][--bindir=]' -f - \ > 's[]' -k '(--prefix --exec-prefix --bindir)' -Q -S '=' -- configure > > Add prefixes as desired. We should probably put a fuller version of this > into the distribution. Is it possible to do this in a global manner? Using compctl or setopt, but not just for specific commands. And what about an easier way to affect completion after command line flags? All this compctl gibberish is very nice, but hardly user friendly. I'm getting a bit tired to man zshcompctl all the time. Perhaps a gnucomp builtin/function? That would make it easier to change the completion behaviour for commands which use standard GNU-style options. -- Wessel Dankers