Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: sudo completion problem
- X-seq: zsh-workers 11166
- From: Tanaka Akira <akr@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: sudo completion problem
- Date: 05 May 2000 05:40:40 +0900
- In-reply-to: <hvobt2moz0v.fsf@xxxxxxxxxxxxxxx> (Tanaka Akira's message of "05 May 2000 05:12:32 +0900")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200005041340.PAA08620@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <hvobt2moz0v.fsf@xxxxxxxxxxxxxxx>
In article <hvobt2moz0v.fsf@xxxxxxxxxxxxxxx>,
Tanaka Akira <akr@xxxxxxxx> writes:
> + : "$_ra_actions[@]"
Oops. Debugging code is remained.
Index: Completion/Base/_regex_arguments
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Base/_regex_arguments,v
retrieving revision 1.2
diff -u -r1.2 _regex_arguments
--- Completion/Base/_regex_arguments 2000/05/04 20:16:09 1.2
+++ Completion/Base/_regex_arguments 2000/05/04 20:38:50
@@ -22,7 +22,7 @@
# pattern = "/" ( glob | "[]" ) "/" [ "+" | "-" ]
# lookahead = "%" glob "%"
# guard = "-" zsh-code-to-eval
-# caction = ":" zsh-code-to-eval
+# caction = ":" tag ":" descr ":" zsh-code-to-eval
# action = "{" zsh-code-to-eval "}"
## regex word sequence definition:
@@ -81,7 +81,6 @@
_ra_left="$_ra_line[_ra_p1 + 1, _ra_p2]"
_ra_right="$_ra_line[_ra_p2 + 1, -1]"
compset -p $(( $#PREFIX - $#_ra_line + $_ra_p1 ))
- : "$_ra_actions[@]"
tmp=("${(@)_ra_actions%%:*}")
if (( $#tmp )); then
_tags "$tmp[@]"
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author