> +function _aptitude_release() {
> + #{{{
> + local expl releases
> + releases=(
> +${${(M)${(f)"$(</etc/apt/sources.list)"}\
> +:#[ $'\t']#deb(|-src)*}/(#b)[ $'\t']#[^ $'\t']##[ $'\t']##[^ $'\t']##[
> $'\t']##([^ $'\t']##)*/$match[1]}
> + )
> + _wanted list expl release compadd ${expl} - ${(u)releases}
> + #}}}
> +}
> +
Committing this, though this is not the same mechanism for completing
releases as used in _apt.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]