diff --git a/bash-completion b/bash-completion index 09f11f31..ca368b0f 100644 --- a/bash-completion +++ b/bash-completion @@ -68,7 +68,7 @@ _yay() { s u') common=('arch cachedir color config confirm dbpath debug gpgdir help hookdir logfile noconfirm noprogressbar noscriptlet quiet save mflags buildir editor - makepkg pacman tar git config requestsplitn sudoloop nosudoloop + makepkg pacman tar git gpg gpgflags config requestsplitn sudoloop nosudoloop redownload noredownload redownloadall root verbose' 'b d h q r v') core=('database files help query remove sync upgrade version' 'D F Q R S U V h') diff --git a/zsh-completion b/zsh-completion index 08536260..b37718f3 100644 --- a/zsh-completion +++ b/zsh-completion @@ -46,6 +46,7 @@ _pacman_opts_common=( '--pacman[pacman command to use]:pacman:_files' '--tar[bsdtar command to use]:tar:_files' '--git[git command to use]:git:_files' + '--gpg[gpg command to use]:gpg:_files' '--bottomup[Show AUR packages first]' '--topdown[Show repository packages first]' @@ -59,6 +60,7 @@ _pacman_opts_common=( '--redownloadall[Always download pkgbuilds of all AUR packages]' '--noredownload[Skip pkgbuild download if in cache and up to date]' '--mflags[Pass arguments to makepkg]:mflags' + '--gpgflags[Pass arguments to gpg]:gpgflags' '--sudoloop[Loop sudo calls in the backgroud to avoid timeout]' '--nosudoloop[Do not loop sudo calls in the backgrount]' )