mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 02:51:01 +02:00
11166: Completion/Base/_regex_arguments: remove debugging code.
This commit is contained in:
parent
3e7a2a41bc
commit
6a93b85903
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
2000-05-04 Tanaka Akira <akr@zsh.org>
|
2000-05-04 Tanaka Akira <akr@zsh.org>
|
||||||
|
|
||||||
|
* 11166: Completion/Base/_regex_arguments: remove debugging code.
|
||||||
|
|
||||||
* 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
|
* 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
|
||||||
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo,
|
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo,
|
||||||
Src/Modules/zutil.c: _regex_arguments support tag stuff.
|
Src/Modules/zutil.c: _regex_arguments support tag stuff.
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
# pattern = "/" ( glob | "[]" ) "/" [ "+" | "-" ]
|
# pattern = "/" ( glob | "[]" ) "/" [ "+" | "-" ]
|
||||||
# lookahead = "%" glob "%"
|
# lookahead = "%" glob "%"
|
||||||
# guard = "-" zsh-code-to-eval
|
# guard = "-" zsh-code-to-eval
|
||||||
# caction = ":" zsh-code-to-eval
|
# caction = ":" tag ":" descr ":" zsh-code-to-eval
|
||||||
# action = "{" zsh-code-to-eval "}"
|
# action = "{" zsh-code-to-eval "}"
|
||||||
|
|
||||||
## regex word sequence definition:
|
## regex word sequence definition:
|
||||||
|
@ -81,7 +81,6 @@ _regex_arguments () {
|
||||||
_ra_left="$_ra_line[_ra_p1 + 1, _ra_p2]"
|
_ra_left="$_ra_line[_ra_p1 + 1, _ra_p2]"
|
||||||
_ra_right="$_ra_line[_ra_p2 + 1, -1]"
|
_ra_right="$_ra_line[_ra_p2 + 1, -1]"
|
||||||
compset -p $(( $#PREFIX - $#_ra_line + $_ra_p1 ))
|
compset -p $(( $#PREFIX - $#_ra_line + $_ra_p1 ))
|
||||||
: "$_ra_actions[@]"
|
|
||||||
tmp=("${(@)_ra_actions%%:*}")
|
tmp=("${(@)_ra_actions%%:*}")
|
||||||
if (( $#tmp )); then
|
if (( $#tmp )); then
|
||||||
_tags "$tmp[@]"
|
_tags "$tmp[@]"
|
||||||
|
|
Loading…
Reference in a new issue