Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _aptitude
- X-seq: zsh-workers 23081
- From: Clint Adams <clint@xxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: _aptitude
- Date: Tue, 2 Jan 2007 17:08:08 -0500
- Cc: 405355@xxxxxxxxxxxxxxx
- In-reply-to: <20061004144010.GB7744@xxxxxxxxxxxxxxx>
- Mail-followup-to: zsh workers <zsh-workers@xxxxxxxxxx>, 405355@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20061004144010.GB7744@xxxxxxxxxxxxxxx>
> +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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author