summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Erhardt <christoph.erhardt@sicherha.de>2025-09-30 08:47:15 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2025-09-30 08:47:15 +0900
commit071e325c826a89b792056c3faf0c400b8c0c5738 (patch)
treee8e71591d26cf7a3d35dbcf1a740d6fc3d3c3298
parentgithub #145: update completion: _install (diff)
downloadzsh-071e325c826a89b792056c3faf0c400b8c0c5738.tar
zsh-071e325c826a89b792056c3faf0c400b8c0c5738.tar.gz
zsh-071e325c826a89b792056c3faf0c400b8c0c5738.tar.bz2
zsh-071e325c826a89b792056c3faf0c400b8c0c5738.tar.lz
zsh-071e325c826a89b792056c3faf0c400b8c0c5738.tar.xz
zsh-071e325c826a89b792056c3faf0c400b8c0c5738.tar.zst
zsh-071e325c826a89b792056c3faf0c400b8c0c5738.zip
53981: _dnf5: fix completion of local rpm files
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Redhat/Command/_dnf52
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ac70e14f2..db0d26fc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/Completion/Redhat/Command/_dnf5 b/Completion/Redhat/Command/_dnf5
index e194dd5a7..9cbf451a8 100644
--- a/Completion/Redhat/Command/_dnf5
+++ b/Completion/Redhat/Command/_dnf5
@@ -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