You are not logged in.
Though I have installed
bash-completion
, It is not working with
yay.
however it works fine with
pacman.
Can any one shed some light on this issue?
Last edited by arch_kk_linux (2019-09-27 23:34:00)
Offline
Hi there,
I think it's because the package pacman ships the script for completion on its own, regardless of bash-completion.
The package bash-completion contains a set of ad-hoc rules for some specific commands. Basically the way the mechanism (not the package) for bash completion works is that each command has to define its own rules on how to perform the auto completion. There is no magic mechanism to infer the autocomplete for a command and typically packages do not define it, which I assume it's also the case of yay.
Last edited by Atari (2019-09-24 10:18:56)
Offline
Please do not use yay, it is not so secure.
Offline
Yay seems to ship an autocompletion script (for bash, fish and zsh): https://github.com/Jguer/yay/tree/master/completions
pacman -Ql yay | grep complet
, then stat that file (if any)
@mephysto, do you have any source for that claim (CVE, bug, …)?
pacman/AUR helpers do not have a very good reputation here, but mostly because they really often fuck up and maintain a certain inexperience in their users (what's not the idea behind archlinux), but we should not spread FUD to talk ppl. out of them, because that would just weaken legit criticism and ultimately the user will have to decide for him- or herself whether or not to use one and which (and learn that it wasn't a good idea ;-)
Online
Thanks Marking as Solved.
Offline
Why? How exactly was this solved?
https://wiki.archlinux.org/index.php/Co … way_street
Online
My bad, the issue is resolved once I removed the cache.
[kk@k ~]$ yay -Sc
proof:
[kk@k ~]$ yay -S sof
sofa softethervpn softflowd softplan-websigner
sofa-shared softethervpn-beta softhsm softsusy
sofastats softethervpn-client-manager softmaker-office-2012-bin softwerk
sofia-sip softethervpn-git softmaker-office-2016-bin
sofia-sip-bc softethervpn-server-manager softmaker-office-2018-bin
Offline
Sounds more as if the autocompletion script is broken and you want to report that upstream?
Online
of course I want to, As I'm new to this I don't know exactly how to report it. If you have any Idea about the procedure I would be glad to follow.
Having said that I will try from my end too to figure out way to report such things to upstream.
Offline
You can find the upstream URL from the package info (and I also linked it before)
It's a github repo, github repos have an issue tracker: https://github.com/Jguer/yay/issues
Online