summaryrefslogtreecommitdiff
path: root/contrib/zsh_completion.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-11-05 09:24:35 +0100
committerAllan McRae <allan@archlinux.org>2014-11-09 13:46:23 +1000
commitf77933ea1e45638d518206c839315d3feece2c01 (patch)
tree783fba757caecc5bc73346850ab3ae279e86e3c5 /contrib/zsh_completion.in
parent9594f513a46220b12f515201dd3b034a7c648992 (diff)
downloadpacman-f77933ea1e45638d518206c839315d3feece2c01.tar.xz
Add --assume-installed to shell completion
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/zsh_completion.in')
-rw-r--r--contrib/zsh_completion.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
index 67aa40a7..f2ff7c8a 100644
--- a/contrib/zsh_completion.in
+++ b/contrib/zsh_completion.in
@@ -37,6 +37,7 @@ _pacman_opts_common=(
_pacman_opts_pkgfile=(
'*-d[Skip dependency checks]'
'*--nodeps[Skip dependency checks]'
+ '*--assume-installed[Add virtual package to satisfy dependencies]'
'--dbonly[Only remove database entry, do not remove files]'
'--force[Overwrite conflicting files]'
'--needed[Do not reinstall up to date packages]'
@@ -70,6 +71,7 @@ _pacman_opts_query_modifiers=(
_pacman_opts_remove=(
{-c,--cascade}'[Remove all dependent packages]'
{*-d,*--nodeps}'[Skip dependency checks]'
+ '*--assume-installed[Add virtual package to satisfy dependencies]'
{-n,--nosave}'[Remove protected configuration files]'
{\*-s,\*--recursive}'[Remove dependencies not required by other packages]'
'--dbonly[Only remove database entry, do not remove files]'
@@ -96,6 +98,7 @@ _pacman_opts_sync_actions=(
# options for passing to _arguments: options for --sync command
_pacman_opts_sync_modifiers=(
{\*-d,\*--nodeps}'[Skip dependency checks]'
+ '*--assume-installed[Add virtual package to satisfy dependencies]'
{\*-i,\*--info}'[View package information]'
{-l,--list}'[List all packages in a repository]'
{-p,--print}'[Print download URIs for each package to be installed]'