diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-19 01:17:24 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-19 01:17:24 +0000 |
commit | 9e7cf95ba58612b75e89072caf022b487face36b (patch) | |
tree | 7dd753646dce079d7e7fa247ba1c777d4d4e71d3 | |
parent | 19b612476147c1c70d72364b4f8379341f7a284c (diff) | |
download | zsh-9e7cf95ba58612b75e89072caf022b487face36b.tar.gz zsh-9e7cf95ba58612b75e89072caf022b487face36b.tar.xz zsh-9e7cf95ba58612b75e89072caf022b487face36b.zip |
zsh-workers/9359
-rw-r--r-- | Completion/Base/_regex_arguments | 1 | ||||
-rw-r--r-- | Completion/Debian/_apt | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Base/_regex_arguments b/Completion/Base/_regex_arguments index 428815419..1d279fc75 100644 --- a/Completion/Base/_regex_arguments +++ b/Completion/Base/_regex_arguments @@ -77,7 +77,6 @@ _regex_arguments () { if [[ "$_ra_line[_ra_p1 + 1, -1]" = *$'\''\0'\''* ]]; then _message "parse failed before current word" else - : $#PREFIX - $#_ra_line + $_ra_p1 : $_ra_p2 _ra_left="$_ra_line[_ra_p1 + 1, _ra_p2]" _ra_right="$_ra_line[_ra_p2 + 1, -1]" compset -p $(( $#PREFIX - $#_ra_line + $_ra_p1 )) diff --git a/Completion/Debian/_apt b/Completion/Debian/_apt index 5fcea162b..ebb455e76 100644 --- a/Completion/Debian/_apt +++ b/Completion/Debian/_apt @@ -419,7 +419,7 @@ _apt-cache () { /$'dumpavail\0'/ \| \ /$'unmet\0'/ \| \ /$'check\0'/ \| \ - /$'search\0'/ \| \ + /$'search\0'/ /$'[^\0]#\0'/ :'_message "pattern"' \| \ /$'show\0'/ /$'[^\0]#\0'/ :'_deb_packages "$expl_packages[@]" avail' \# \| \ /$'depends\0'/ \| \ /"[]"/ :'_tags actions && compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends' |