Parcourir la source

Update shell completion for --aururl

morganamilo il y a 6 ans
Parent
commit
127c5e7cb9
3 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 1 1
      completions/bash
  2. 1 0
      completions/fish
  3. 1 1
      completions/zsh

+ 1 - 1
completions/bash

@@ -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')
 

+ 1 - 0
completions/fish

@@ -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'

+ 1 - 1
completions/zsh

@@ -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)'