Browse Source

Merge pull request #674 from Morganamilo/shell

 Update shell completion for --aururl
Anna 6 years ago
parent
commit
070f103fb9
3 changed files with 477 additions and 476 deletions
  1. 1 1
      completions/bash
  2. 1 0
      completions/fish
  3. 475 475
      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'

File diff suppressed because it is too large
+ 475 - 475
completions/zsh