mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Don't complete packages for empty string
This commit is contained in:
parent
746a541f7b
commit
1aff6cada0
|
@ -38,6 +38,7 @@ _pacman_pkg() {
|
|||
}
|
||||
|
||||
_yay_pkg() {
|
||||
[ -z "$cur" ] && return
|
||||
_arch_compgen "$(yay -Pc)"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue