[pacman-dev] [PATCHv2 1/4] zsh completion: add querying packages for database

Allan McRae allan at archlinux.org
Sat Mar 9 02:41:28 EST 2013


On 09/03/13 06:59, Daniel Wallace wrote:
> Signed-off-by: Daniel Wallace <danielwallace at gtmanfred.com>
> ---
>  contrib/zsh_completion.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
> index ab658c1..cae12ae 100644
> --- a/contrib/zsh_completion.in
> +++ b/contrib/zsh_completion.in
> @@ -79,6 +79,7 @@ _pacman_opts_remove=(
>  _pacman_opts_database=(
>  	'--asdeps[mark packages as non-explicitly installed]'
>  	'--asexplicit[mark packages as explicitly installed]'
> +	'*:installed package:_pacman_completions_installed_packages'
>  )
>  
>  # options for passing to _arguments: options for --sync command
> 

Fix your original patch adding database support rather than add a new patch.


More information about the pacman-dev mailing list