Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _aptitude



> +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