From d855725965109536abed5754fa90f9ba5661b244 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 8 May 2023 18:33:28 +0200 Subject: [PATCH] completions/dnf: Use lowercase queryformat See https://github.com/rpm-software-management/dnf/commit/de9c5c5b597bf97aa03145de129fb579b5a0e953 Fixes #9783 --- share/completions/dnf.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/dnf.fish b/share/completions/dnf.fish index 6fe15bb57..67723adee 100644 --- a/share/completions/dnf.fish +++ b/share/completions/dnf.fish @@ -3,7 +3,7 @@ # function __dnf_list_installed_packages - dnf repoquery --cacheonly "$cur*" --qf "%{NAME}" --installed /dev/null) + set results (dnf repoquery --cacheonly "$tok*" --qf "%{name}" --available /dev/null) end if set -q results[1] set results (string match -r -- '.*\\.rpm$' $files) $results