Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: parameter completion in expansions
- X-seq: zsh-workers 7082
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: RE: parameter completion in expansions
- Date: Fri, 9 Jul 1999 15:39:41 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Fri, 9 Jul 1999 17:33:57 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> > But the `} ' is auto-removed when you type `['. And since one can also
> > subscript scalars and sometimes don't want to subscript arrays I'd
> > prefer to not treat them differently.
>
> Oh, yes. Have I never tried it, silly me? But the space after $param (without
> braces) not. Should it?
Hm, yes. Makes completion after `$' slightly slower, but I guess one
will seldom or never notice this.
Bye
Sven
diff -u oc/Base/_parameter Completion/Base/_parameter
--- oc/Base/_parameter Thu Jul 8 11:11:45 1999
+++ Completion/Base/_parameter Fri Jul 9 15:38:25 1999
@@ -1,3 +1,3 @@
#compdef -parameter-
-compgen -v
+_parameters -S ' ' -r '['
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author