diff --git a/completions/bash b/completions/bash index 7e2e31e7..39551ca1 100644 --- a/completions/bash +++ b/completions/bash @@ -38,6 +38,7 @@ _pacman_pkg() { } _yay_pkg() { + [ -z "$cur" ] && return _arch_compgen "$(yay -Pc)" }