53981: _dnf5: fix completion of local rpm files

This commit is contained in:
Christoph Erhardt
2025-09-30 08:47:15 +09:00
committed by Jun-ichi Takimoto
parent 32d1158b8f
commit 071e325c82
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2025-09-30 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* Christoph Erhardt: 53981: Completion/Redhat/Command/_dnf5:
fix completion of local rpm files
2025-09-29 Oliver Kiddle <opk@zsh.org>
* Ryan Rotter: github #145: Completion/Unix/Command/_install:

View File

@@ -38,7 +38,7 @@ _dnf5_rpm_files() {
_dnf5_packages_or_rpms() {
if [[ "$words[CURRENT]" = (*/*|\~*) ]]; then # if looks like a path name
_dnf_rpm_files
_dnf5_rpm_files
else
_dnf5_packages "$@"
fi