mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
53981: _dnf5: fix completion of local rpm files
This commit is contained in:
committed by
Jun-ichi Takimoto
parent
32d1158b8f
commit
071e325c82
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user