Don't complete packages for empty string

This commit is contained in:
morganamilo 2018-08-05 23:10:54 +01:00
parent 746a541f7b
commit 1aff6cada0
No known key found for this signature in database
GPG key ID: 6FE9E7996B0B082E

View file

@ -38,6 +38,7 @@ _pacman_pkg() {
}
_yay_pkg() {
[ -z "$cur" ] && return
_arch_compgen "$(yay -Pc)"
}