Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
parameter completion in expansions
- X-seq: zsh-workers 7078
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: parameter completion in expansions
- Date: Fri, 9 Jul 1999 17:21:32 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
When completing parameter name in parameter expansions zsh automatically adds
blank or '} ' to $par / ${par . This looks like suitable default for scalars -
but I found, that with arrays I mostly want subscription (at least in
interactive shell).
What about adding autoremoved '[' if parameter is array? (The suffix should of
course be removed if I press '}'). At the least, do nothing and leave cursor
immediately after completed name?
As this really depends on personal usage, may be, even some config key is
appropriate.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author