summaryrefslogtreecommitdiff
path: root/Completion/Debian/Command/_aptitude
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-01-24 17:19:53 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-01-24 17:19:53 +0100
commit86ca06fb4b5a835caac37700952207db4c5073cd (patch)
treec2686e6d126d59052310c6bb7cd8df6d76fa0fca /Completion/Debian/Command/_aptitude
parent370659ae9ae918a07a7950bbc2827b2593126f7d (diff)
parentd18ce35d060163ea0d531170b65e1c38311af166 (diff)
downloadzsh-86ca06fb4b5a835caac37700952207db4c5073cd.tar.gz
zsh-86ca06fb4b5a835caac37700952207db4c5073cd.zip
Merge branch 'upstream' at 5.2-dev-1 into debian
Diffstat (limited to 'Completion/Debian/Command/_aptitude')
-rw-r--r--Completion/Debian/Command/_aptitude2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_aptitude b/Completion/Debian/Command/_aptitude
index 2cb211149..b2b54599f 100644
--- a/Completion/Debian/Command/_aptitude
+++ b/Completion/Debian/Command/_aptitude
@@ -80,7 +80,7 @@ _arguments -C \
case $state in
cmds)
- cmds=( ${${(M)${(f)"$(LC_ALL=C _call_program commands aptitude -h 2>/dev/null)"}:#* - *}/(#b) (*[^ ]) #- (*)/$match[1]:$match[2]:l})
+ cmds=( ${${(M)${(f)"$(LC_ALL=C _call_program commands aptitude -h 2>/dev/null)"}:# [^- ][^ ]## *}/(#b) ([^ ]##) ##(- )#([^- ]*)/$match[1]:$match[3]:l})
_describe -t commands 'aptitude command' cmds && ret=0
;;