From 02f14a9cb152561a5e44062aac79f3b700403b40 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 13 Jul 2025 06:42:05 +0200 Subject: omz --- home/.oh-my-zsh/plugins/dnf/_dnf5 | 570 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 570 insertions(+) create mode 100644 home/.oh-my-zsh/plugins/dnf/_dnf5 (limited to 'home/.oh-my-zsh/plugins/dnf/_dnf5') diff --git a/home/.oh-my-zsh/plugins/dnf/_dnf5 b/home/.oh-my-zsh/plugins/dnf/_dnf5 new file mode 100644 index 0000000..9cbf451 --- /dev/null +++ b/home/.oh-my-zsh/plugins/dnf/_dnf5 @@ -0,0 +1,570 @@ +#compdef dnf5 +# based on dnf-5.2.6.2 + +# utility functions + +_dnf5_helper() { + _call_program specs $service "${(q-)@}" "${(q-)PREFIX}\*" \ + -qC --assumeno --nogpgcheck 2>/dev/null command' '*:: :->cmd_args' && ret=0 + + case $state in + command) _dnf5_commands && ret=0 ;; + cmd_args) _dnf5_subcmds_opts && ret=0 ;; + esac + return ret +} + +_dnf5 "$@" -- cgit v1.2.3