From f7476178bc3d0080c1c0fff3f88fe12886f471a1 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 2 Jan 2007 22:05:12 +0000 Subject: 22817: update for modern options, add completion of releases. --- Completion/Debian/Command/_aptitude | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'Completion/Debian') diff --git a/Completion/Debian/Command/_aptitude b/Completion/Debian/Command/_aptitude index 84c33dd9d..28052cdb2 100644 --- a/Completion/Debian/Command/_aptitude +++ b/Completion/Debian/Command/_aptitude @@ -2,11 +2,22 @@ local curcontext="$curcontext" state line cmds ret=1 +function _aptitude_release() { + #{{{ + local expl releases + releases=( +${${(M)${(f)"$(cmds' \ '*: :->args' && ret=0 -- cgit 1.4.1