mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Update shell completion for --aururl
This commit is contained in:
parent
0a120132ec
commit
127c5e7cb9
|
@ -69,7 +69,7 @@ _yay() {
|
|||
noansweredit noanswerupgrade cleanmenu diffmenu editmenu upgrademenu
|
||||
nocleanmenu nodiffmenu noupgrademenu provides noprovides pgpfetch nopgpfetch
|
||||
useask nouseask combinedupgrade nocombinedupgrade aur repo makepkgconf
|
||||
nomakepkgconf askremovemake removemake noremovemake completioninterval'
|
||||
nomakepkgconf askremovemake removemake noremovemake completioninterval aururl'
|
||||
'b d h q r v')
|
||||
core=('database files help query remove sync upgrade version' 'D F Q R S U V h')
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@ complete -c $progname -s h -f -l help -n $noopt -d 'Display help'
|
|||
complete -c $progname -n "not $noopt" -s a -l aur -d 'Assume targets are from the repositories'
|
||||
complete -c $progname -n "not $noopt" -l repo -d 'Assume targets are from the AUR'
|
||||
|
||||
complete -c $progname -n "not $noopt" -s b -l aururl -d 'Set an alternative AUR URL' -f
|
||||
complete -c $progname -n "not $noopt" -s b -l dbpath -d 'Alternative database location' -xa '(__fish_complete_directories)'
|
||||
complete -c $progname -n "not $noopt" -s r -l root -d 'Alternative installation root'
|
||||
complete -c $progname -n "not $noopt" -s v -l verbose -d 'Output more status messages'
|
||||
|
|
|
@ -24,7 +24,7 @@ _pacman_opts_commands=(
|
|||
_pacman_opts_common=(
|
||||
'--repo[Assume targets are from the repositories]'
|
||||
{-a,--aur}'[Assume targets are from the AUR]'
|
||||
|
||||
'--aururl[Set an alternative AUR URL]:url'
|
||||
'--arch[Set an alternate architecture]'
|
||||
{-b,--dbpath}'[Alternate database location]:database_location:_files -/'
|
||||
'--color[colorize the output]:color options:(always never auto)'
|
||||
|
|
Loading…
Reference in a new issue