mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
zsh-workers/9359
This commit is contained in:
parent
19b6124761
commit
9e7cf95ba5
2 changed files with 1 additions and 2 deletions
|
@ -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 ))
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue