mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00:00
completions/dnf: Use lowercase queryformat
Seede9c5c5b59
Fixes #9783 (cherry picked from commitd855725965
)
This commit is contained in:
parent
fc0e033b82
commit
a1ac529086
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
|
||||
function __dnf_list_installed_packages
|
||||
dnf repoquery --cacheonly "$cur*" --qf "%{NAME}" --installed </dev/null
|
||||
dnf repoquery --cacheonly "$cur*" --qf "%{name}" --installed </dev/null
|
||||
end
|
||||
|
||||
function __dnf_list_available_packages
|
||||
|
@ -26,7 +26,7 @@ function __dnf_list_available_packages
|
|||
else
|
||||
# In some cases dnf will ask for input (e.g. to accept gpg keys).
|
||||
# Connect it to /dev/null to try to stop it.
|
||||
set results (dnf repoquery --cacheonly "$tok*" --qf "%{NAME}" --available </dev/null 2>/dev/null)
|
||||
set results (dnf repoquery --cacheonly "$tok*" --qf "%{name}" --available </dev/null 2>/dev/null)
|
||||
end
|
||||
if set -q results[1]
|
||||
set results (string match -r -- '.*\\.rpm$' $files) $results
|
||||
|
|
Loading…
Reference in a new issue