Don't complete packages for empty string
This commit is contained in:
1 file changed
+1
@@ -38,6 +38,7 @@ _pacman_pkg() {
|
||||
}
|
||||
|
||||
_yay_pkg() {
|
||||
[ -z "$cur" ] && return
|
||||
_arch_compgen "$(yay -Pc)"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user