I am new to using Linux. :) Today I noticed some extra words when TAB completing dnf search. I am not sure how to google this (I tried, but with no success), so please help. :DAnyone has any idea what is causing this behaviour? Tried to dnf clean all and then reinstall bash_completion and dnf update. It didn't help. I have added some aliases and custom bash prompt (PS1) to .bashrc, rest is default.#dnf searca              DNF            is             Please         theand            documentation  not            'plugins'      TheAPI            function       of             release.       upcomingat             functions.     officially     removed        useavailable      api.html.      only           search         willbe             in             part           supported
Bash completion extra words Fedora 23
bash;fedora;autocomplete
This is a bug in bash completion in dnf (not the first one and not the last one). Let's see what I can find out.Running the same with set -x will reveal the source of this: python3 -c 'import sys; from dnf.cli import completion_helper as ch; ch.main(sys.argv[1:])' _cmds sear -d 0 -q -Cdoes not return the list of options, but basically some error. It is because the /usr/lib/python3.4/site-packages/dnf/cli/completion_helper.py is using not-supported API and when debugging, we see errors like this:The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html.from line 172             base.plugins.load(base.conf.pluginpath, [])This should be base.init_plugins() and it was already fixed in the recent commit. Only thing needed now is to wait until it get fixed in distribution.