Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bash-like completion?
- X-seq: zsh-users 1031
- From: Wessel Dankers <wsldanke@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: bash-like completion?
- Date: Fri, 26 Sep 1997 15:17:16 +0200 (MDT)
- In-reply-to: <199709261240.NAA06849@xxxxxxxxxxxxxxxx>
On Fri, 26 Sep 1997, Andrew Main wrote:
> Karsten Thygesen wrote:
> >./configure --prefix=/usr/loc<COMPLETE>
>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author