Since Fedora will use
dnf as default package manager in its next release, is there available autocompletion for zsh/oh-my-zsh/zpretzo?
If not, is there somebody willing to do it? :D
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
a work around :
cp /usr/share/zsh/5.0.7/functions/_yum /usr/share/zsh/5.0.7/functions/_dnf
and under vim type:
save and exit vim ( type :x and Enter) relog under zsh and enjoy. via
My zsh (5.1) already has support for dnf:
% rpm -qf /usr/share/zsh//5.1/functions/_dnf zsh-5.1-1.fc24.x86_64
Until there is a proper completion module for dnf, you can use yum completion. Just add this simple line into your zshrc:
This line must be placed anywhere after completion initialization.