* compctl for export
@ 1999-08-20 19:19 Matthew Lovell
0 siblings, 0 replies; only message in thread
From: Matthew Lovell @ 1999-08-20 19:19 UTC (permalink / raw)
To: Zsh users list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-08-20 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-20 19:19 compctl for export Matthew Lovell
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).