Update .config/fish/functions/pkgsearch.fish

This commit is contained in:
punkfairie 2024-09-30 18:18:52 -07:00
parent 69eff01fd3
commit 30e186c979
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -4,7 +4,7 @@ function pkgsearch -d "Search the core/extra/AUR repos for a package" -a search
set -f query "" set -f query ""
if set -q search if set -q search
set query "--query $search" set query "--query=$search"
end end
set -f res (yay -Slq | command fzf --multi --preview 'yay -Si {}' --height=90% --layout=reverse "$query") set -f res (yay -Slq | command fzf --multi --preview 'yay -Si {}' --height=90% --layout=reverse "$query")