From: Matthew Lovell <lovell@fc.hp.com>
To: Karsten Thygesen <karthy@kom.auc.dk>
Cc: zsh-users@math.gatech.edu
Subject: Re: bash-like completion?
Date: Fri, 26 Sep 1997 12:02:10 -0600 (MDT) [thread overview]
Message-ID: <199709261802.MAA15342@hatchet.fc.hp.com> (raw)
In-Reply-To: <yd8k9g4gtm0.fsf_-_@yugo.kom.auc.dk>
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@fc.hp.com
prev parent reply other threads:[~1997-09-26 18:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-26 12:14 Karsten Thygesen
1997-09-26 12:40 ` Andrew Main
1997-09-26 13:17 ` Wessel Dankers
1997-09-26 13:32 ` Andrew Main
1997-09-26 16:11 ` Bart Schaefer
1997-09-26 14:03 ` Bruce Stephens
1997-09-26 16:50 ` Bart Schaefer
1997-09-26 18:02 ` Matthew Lovell [this message]
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=199709261802.MAA15342@hatchet.fc.hp.com \
--to=lovell@fc.hp.com \
--cc=karthy@kom.auc.dk \
--cc=zsh-users@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).