Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bash-like completion?
- X-seq: zsh-users 1036
- From: Matthew Lovell <lovell@xxxxxxxxx>
- To: Karsten Thygesen <karthy@xxxxxxxxxx>
- Subject: Re: bash-like completion?
- Date: Fri, 26 Sep 1997 12:02:10 -0600 (MDT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <yd8k9g4gtm0.fsf_-_@xxxxxxxxxxxxxxx>
- References: <yd8k9g4gtm0.fsf_-_@xxxxxxxxxxxxxxx>
On 26 September 1997, Karsten Thygesen writes:
>
> Hi
>
> How can I make zsh filename-complete something after a string? Ie:
>
> ./configure --prefix=/usr/loc<COMPLETE>
I use this to get completion on "export" commands:
# if asked to complete export ..., use files and directories after the =
# and existing shell variables before the =
compctl -E -S '=' -x 'n[1,=]' -f -- export
--
Matthew Lovell voice: (970) 229-6264
Hewlett-Packard FSL fax: (970) 229-2510
3404 E. Harmony Rd. MS A0 location: 3UR4
Fort Collins, CO 80525 mailto:lovell@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author