From 1eb69e9a795cc19450178c07d8d382622bc7ad70 Mon Sep 17 00:00:00 2001 From: Pedro Pereira Date: Fri, 16 Oct 2026 15:19:13 -0300 Subject: first commit --- .config/zsh/oh-my-zsh/plugins/dnf/_dnf5 | 570 ++++++++++++++++++++++++++++++++ 1 file changed, 570 insertions(+) create mode 100644 .config/zsh/oh-my-zsh/plugins/dnf/_dnf5 (limited to '.config/zsh/oh-my-zsh/plugins/dnf/_dnf5') diff --git a/.config/zsh/oh-my-zsh/plugins/dnf/_dnf5 b/.config/zsh/oh-my-zsh/plugins/dnf/_dnf5 new file mode 100644 index 0000000..e194dd5 --- /dev/null +++ b/.config/zsh/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.3