From: Matthew Lovell <lovell@fc.hp.com>
To: zsh-users@sunsite.auc.dk (Zsh users list)
Subject: compctl for export
Date: Fri, 20 Aug 1999 13:19:38 -0600 (MDT) [thread overview]
Message-ID: <14269.43594.156654.21215@hatchet.fc.hp.com> (raw)
Hi,
I'm using the following setup for completion on 'export':
# for export, complete environment variables before the equal (=) sign, normal
# file system completion afterwards
compctl -E -S '=' -x 'n[1,=]' -f -- export
If I wanted to extend MANPATH, for example, I could get completion on
MANPATH before the equal sign, then $MANPATH after the equals and
continue with some path specification afterwards. This worked under
zsh-3.1.4.
Under 3.1.6, however, adding a $ after the equals sign and asking for
a completion erases _everything_ after 'export'. Not quite the
behavior I wanted.
Does anyone have suggestions on how to cure this ill or pointers to
relevant documentation for me?
Thanks!
--
Matthew Lovell
HP Workstation Systems Lab
mailto:lovell@fc.hp.com
reply other threads:[~1999-08-20 19:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=14269.43594.156654.21215@hatchet.fc.hp.com \
--to=lovell@fc.hp.com \
--cc=zsh-users@sunsite.auc.dk \
/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).