Don't complete packages for empty string

This commit is contained in:
morganamilo committed 2018-08-05 23:10:54 +01:00
1 parent 746a541f7b
commit 1aff6cada0
1 file changed
+1
+1
View File
@@ -38,6 +38,7 @@ _pacman_pkg() {
}
_yay_pkg() {
[ -z "$cur" ] && return
_arch_compgen "$(yay -Pc)"
}