Description of problem: After running `conda init` each time a new terminal window is open a message appears at the very first line of the terminal: bash: /etc/bash_completion.d/conda: No such file or directory Version-Release number of selected component (if applicable): conda-4.8.0-1.fc31.noarch Steps to Reproduce: 1. run `conda init` 2. reopen the terminal Additional info: From the post on users mail list (https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/6N5AQ4EGYTXT7Y2XLXLYFSSH5255BTHL/): It looks like the conda tarball contains the bash_completion.d file¹, but it's not installed with the package. So either that should be fixed (or if there's a reason to not include the file, then conda should be patched so init doesn't try to reference that file). A further improvement might be for upstream to use the preferred location for completions via: pkg-config --variable=completionsdir bash-completion ¹ conda/shell/etc/bash_completion.d/conda in the current conda-4.8.0 tarball.
Hmm, the whole 'conda init' thing is pretty dodgy at this point, but yeah we should be installing /etc/bash_completion.d/conda.
FEDORA-2020-90cb8a1de9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-90cb8a1de9
And of course as soon as I didn't that it appears that they completely changed things again with 4.8.1 - so who knows how that will work. Still poking at it.
conda-4.8.0-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-90cb8a1de9
It work as of now. Thank you for your great efforts!
conda-4.8.0-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.