You are not logged in.

#1 2023-08-24 23:48:51

readf0x
Member
Registered: 2023-08-24
Posts: 7
Website

zsh-autocomplete is no longer working with yay correctly

I use yay as my aur helper and I use zsh with oh my zsh, powerlevel10k, zsh-syntax-highlighting, and zsh-autocomplete. zsh-autocomplete used to show me AUR packages when using yay, but now it only shows my enabled repos. Pacman, however, still works as expected, showing a list of package names as I type.

pacman:

❯ sudo pacman -S
packages
acl   amd-ucode   archlinux-keyring  argon2    attr   audit  autoconf  automake  b43-fwcutter
base  base-devel  bash               binutils  bison

❯ sudo pacman -S gtk
packages
gtk2                   gtk2-compat     gtk2+extra           gtk2fontsel      gtk2-perl         
gtk3                   gtk3-demos      gtk3-docs            gtk4             gtk4-demos

yay:

❯ yay -S
repository/package
core      extra     multilib

❯ yay -S gtk
no matching `package', `packages', `repository/package', or `corrections' completions

I think it stopped working after I ran pacman -Syu and yay -Syu at some point, but I've been trying off and on to fix this for at least a week now. I'm not using the package versions of any of my zsh plugins, they're installed to

~/.oh-my-zsh/custom/plugins

directly from git, and all of my plugins are the latest version, save for maybe p10k. I'm honestly stumped. Haven't been able to figure this one out at all. I've tried reinstalling everything related to zsh and resetting my config to no avail.

Offline

#2 2023-08-25 06:18:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: zsh-autocomplete is no longer working with yay correctly

Yay ships a zsh autocomplete config, https://raw.githubusercontent.com/Jguer … etions/zsh
There's no need for o-i-guess-i-just-broke-my-zsh or obscure plugins for it, but I suspect you've to complete "yay -S extra/gtk"?

Offline

#3 2023-08-25 11:54:12

readf0x
Member
Registered: 2023-08-24
Posts: 7
Website

Re: zsh-autocomplete is no longer working with yay correctly

seth wrote:

Yay ships a zsh autocomplete config, https://raw.githubusercontent.com/Jguer … etions/zsh
There's no need for o-i-guess-i-just-broke-my-zsh or obscure plugins for it, but I suspect you've to complete "yay -S extra/gtk"?

I did try writing the full repo as well back when it broke, but as far as I can tell it's not grabbing the packages correctly. hmm I'm gonna try reinstalling yay when I get home, we'll see if that fixes it.

Offline

#4 2023-08-25 11:59:06

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,193
Website

Re: zsh-autocomplete is no longer working with yay correctly

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB