Skip to content

Commit

Permalink
Merge pull request #600 from Morganamilo/completion2
Browse files Browse the repository at this point in the history
Update completion
  • Loading branch information
Morganamilo authored Jul 30, 2018
2 parents 5f107ad + 05587c3 commit 892d9cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completions/bash
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ _yay() {
sortby answerclean answerdiff answeredit answerupgrade noanswerclean noanswerdiff
noansweredit noanswerupgrade cleanmenu diffmenu editmenu upgrademenu
nocleanmenu nodiffmenu noupgrademenu provides noprovides pgpfetch nopgpfetch
useask nouseask combinedupgrade nocombinedupgrade root verbose aur repo'
useask nouseask combinedupgrade nocombinedupgrade root verbose aur repo makepkgconf
nomakepkgconf askremovemake removemake noremovemake completioninterval'
'a b d h q r v')
core=('database files help query remove sync upgrade version' 'D F Q R S U V h')

Expand Down
7 changes: 7 additions & 0 deletions completions/zsh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ _pacman_opts_common=(
{-v,--verbose}'[Be more verbose]'
'--cachedir[Alternate package cache location]:cache_location:_files -/'
'--config[An alternate configuration file]:config file:_files'
'--makepkgconf[makepkg.conf file to use]:config file:_files'
'--nomakepkgconf[Use the default makepkg.conf]'
'--requestsplitn[Max amount of packages to query per AUR request]:number'
'--completioninterval[Time in days to to refresh completion cache]:number'
'--confirm[Always ask for confirmation]'
'--debug[Display debug messages]'
'--gpgdir[Set an alternate directory for GnuPG (instead of /etc/pacman.d/gnupg)]: :_files -/'
Expand Down Expand Up @@ -68,6 +72,9 @@ _pacman_opts_common=(
"--nodiffmenu[Don't show diffs for build files]"
"--noeditmenu[Don't edit/view PKGBUILDS]"
"--noupgrademenu[Don't show the upgrade menu]"
"--askremovemake[Ask to remove makedepends after install]"
"--removemake[Remove makedepends after install]"
"--noremovemake[Don't remove makedepends after install]"

'--bottomup[Show AUR packages first]'
'--topdown[Show repository packages first]'
Expand Down

0 comments on commit 892d9cc

Please sign in to comment.