diff options
Diffstat (limited to 'contrib/zsh_completion')
| -rw-r--r-- | contrib/zsh_completion | 13 | 
1 files changed, 2 insertions, 11 deletions
| diff --git a/contrib/zsh_completion b/contrib/zsh_completion index 8dec06df..e1273184 100644 --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -6,7 +6,6 @@ typeset -A opt_args  # options for passing to _arguments: main pacman commands  _pacman_opts_commands=( -	'-A[Add a package to the system]'  	'-Q[Query the package database]'  	'-R[Remove a package from the system]'  	'-S[Synchronize packages]' @@ -29,7 +28,7 @@ _pacman_opts_common=(  	'--noscriptlet[Do not execute the install scriptlet if one exists]'  ) -# options for passing to _arguments: options for --add and --update commands +# options for passing to _arguments: options for --upgrade commands  _pacman_opts_pkgfile=(  	'-d[Skip dependency checks]'  	'-f[Overwrite conflicting files]' @@ -78,7 +77,6 @@ _pacman_opts_sync_actions=(  # options for passing to _arguments: options for --sync command  _pacman_opts_sync_modifiers=(  	'-d[Skip dependency checks]' -	'-e[Install dependencies only]'  	'-f[Overwrite conflicting files]'  	'-i[View package information]'  	'-l[List all packages in a repository]' @@ -91,15 +89,9 @@ _pacman_opts_sync_modifiers=(  	'*--ignoregroup[Ignore a group upgrade]:package group:  		_pacman_completions_all_groups'  	'--asdeps[Install packages as non-explicitly installed]' +	'--asexplicit[Install packages as explicitly installed]'  ) -# handles --action subcommand -_pacman_action_add() { -	_arguments -s : \ -		"$_pacman_opts_common[@]" \ -		"$_pacman_opts_pkgfile[@]" -} -  # handles --help subcommand  _pacman_action_help() {  	_arguments -s : \ @@ -290,7 +282,6 @@ _pacman_get_command() {  # main dispatcher  _pacman() {  	case $words[2] in -		-A*)  _pacman_action_add      ;;  		-Q*g*) # ipkg groups  			_arguments -s : \  				"$_pacman_opts_common[@]" \ | 
