* PATCH: param keys
@ 1999-03-05 13:28 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1999-03-05 13:28 UTC (permalink / raw)
To: zsh-workers
We should tell the completion code about the new `/' which now has to
come directly after a parameter name in `${...'.
Bye
Sven
diff -u os/Zle/zle_misc.c Src/Zle/zle_misc.c
--- os/Zle/zle_misc.c Fri Mar 5 14:23:32 1999
+++ Src/Zle/zle_misc.c Fri Mar 5 14:24:30 1999
@@ -794,7 +794,7 @@
if(br) {
suffixlen['#'] = suffixlen['%'] = suffixlen['?'] = n;
suffixlen['-'] = suffixlen['+'] = suffixlen['='] = n;
- /*{*/ suffixlen['}'] = n;
+ /*{*/ suffixlen['}'] = suffixlen['/'] = n;
}
}
diff -u oc/Base/_brace_parameter Completion/Base/_brace_parameter
--- oc/Base/_brace_parameter Mon Mar 1 13:12:28 1999
+++ Completion/Base/_brace_parameter Fri Mar 5 14:25:21 1999
@@ -2,4 +2,4 @@
# Simple but without spiffy suffix handling: compgen -v -S '} '
-compadd -S '} ' -r '-:?#%+=[' - "${(@)${${${(f)$(typeset)}%%\=*}##* }:gs/'//}"
+compadd -S '} ' -r '-:?#%+=[/' - "${(@)${${${(f)$(typeset)}%%\=*}##* }:gs/'//}"
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-03-05 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-05 13:28 PATCH: param keys Sven Wischnowsky
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).