Jguer / yay

Yet another Yogurt - An AUR Helper written in Go
GNU General Public License v3.0
10.88k stars 354 forks source link

Auto-completion not working properly #2319

Open TotoShampoin opened 9 months ago

TotoShampoin commented 9 months ago

Affected Version

yay v12.1.3 - libalpm v13.0.2

Describe the bug

It doesn't auto complete when I have written the beginning of a package, but it works fine if I wrote no package (which asks to show 14023 packages)

Reproduction Steps

  1. type yay -S wg
  2. press tab once or twice
  3. no profit

Expected behavior

It should either auto complete, or show a list of the possible packages

Output

# well, it doesn't give any output, since I don't run any command there...
jdholtz commented 9 months ago

What shell are you using? I am using Bash and the following comes up when I do yay -S wg[TAB]

wg++               wg-cmd             wget-git           wgman              wgnord             wgshadertoy        wg-systray-git     
wg2nd              wget               wget-lua           wg-manager-git     wgrib              wgsim-git          wg_tool            
wgcf               wget2              wgetpaste          wgmgr              wgrib2             wgsl-analyzer      
wgcf-git           wget2-git          wgetpkg            wg-netns           wgroute            wgsl-analyzer-bin