Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compctl for export
- X-seq: zsh-users 2485
- From: Matthew Lovell <lovell@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx (Zsh users list)
- Subject: compctl for export
- Date: Fri, 20 Aug 1999 13:19:38 -0600 (MDT)
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author