--- /usr/share/zsh/site-functions/_pacman 2015-10-02 13:41:17.000000000 +0200 +++ /home/bstaletic/Temp/pacman/_pacman 2015-12-29 19:59:05.162688377 +0100 @@ -28,19 +28,28 @@ '--config[An alternate configuration file]:config file:_files' '--logfile[An alternate log file]:config file:_files' '--noconfirm[Do not ask for confirmation]' + '--arch[Set an alternate architecture]' + '--confirm[Always ask for confirmation]' + '--debug[Display debug messages]' + '--gpgdir[Set an alternate home directory for GnuPG]:config file:_files' '--noprogressbar[Do not show a progress bar when downloading files]' '--noscriptlet[Do not execute the install scriptlet if one exists]' - '--print[Only print the targets instead of performing the operation]' ) # options for passing to _arguments: options for --upgrade commands _pacman_opts_pkgfile=( + {-p,--print}'[Only print the targets instead of performing the operation]' '*-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]' + '--asdeps[mark packages as non-explicitly installed]' + '--asexplicit[mark packages as explicitly installed]' '--force[Overwrite conflicting files]' '--needed[Do not reinstall up to date packages]' + '*--ignore[Ignore a package upgrade]:package: _pacman_completions_all_packages' + '*--ignoregroup[Ignore a group upgrade]:package group:_pacman_completions_all_groups' + '--print-format[Specify how the targets should be printed]' '*:package file:_files -g "*.pkg.tar*~*.sig(.,@)"' ) @@ -63,6 +72,7 @@ {-l,--list}'[List package contents]' {-m,--foreign}'[List installed packages not found in sync db(s)]' {-n,--native}'[List installed packages found in sync db(s)]' + {-q,--quiet}'[Show less information for query and search]' {-t,--unrequired}'[List packages not required by any package]' {-u,--upgrades}'[List packages that can be upgraded]' ) @@ -70,11 +80,14 @@ # options for passing to _arguments: options for --remove command _pacman_opts_remove=( {-c,--cascade}'[Remove all dependent packages]' - {*-d,*--nodeps}'[Skip dependency checks]' + {-d,--nodeps}'[Skip dependency checks]' '*--assume-installed[Add virtual package to satisfy dependencies]' {-n,--nosave}'[Remove protected configuration files]' + {-p,--print}'[Only print the targets instead of performing the operation]' {\*-s,\*--recursive}'[Remove dependencies not required by other packages]' + {-u,--unneeded}'[Remove unneeded packages]' '--dbonly[Only remove database entry, do not remove files]' + '--print-format[Specify how the targets should be printed]' '*:installed package:_pacman_completions_installed_packages' ) @@ -101,7 +114,8 @@ '*--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]' + {-p,--print}'[Only print the targets instead of performing the operation]' + {-q,--quiet}'[Show less information for query and search]' {\*-u,\*--sysupgrade}'[Upgrade all out-of-date packages]' {-w,--downloadonly}'[Download packages only]' {\*-y,\*--refresh}'[Download fresh package databases]' @@ -110,6 +124,7 @@ '--asdeps[Install packages as non-explicitly installed]' '--asexplicit[Install packages as explicitly installed]' '--force[Overwrite conflicting files]' + '--print-format[Specify how the targets should be printed]' ) # handles --help subcommand