-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/etc/profile.d/bash_completion.sh: No such file or directory #2
Comments
Thanks for the feedback @astier 😄. I'm updated the installation instruction to be (hopefully) more clear:
Does this make sense? |
I just added to my bashrc [ -r ~/miniconda3/etc/profile.d/bash_completion.sh ] &&. ~/miniconda3/etc/profile.d/bash_completion.sh It works. Thanks. Why do we need to set |
Great that you have got it working! 😄 I'll think about adding your file existence check, though this is an edge case -- if it gets too convoluted, then its not the right approach. Setting Technically,
but that does not work on all platforms and setups, especially if you install the package into another environment. Ah well. Such is the tyranny of systems programming. |
Isn't the file-check required when |
If that's the case, then you would be doing a manual installation, with the I'll make the two installation methods more explicit. There might be a case where you:
So protecting against this is reasonable. Thanks for the feedback on this 😄 |
I am checking if the file exists because if I make a fresh linux-install I pull my dotfiles with the bashrc which tries to source the conda-completion-file but would fail because I usually don't install conda right away. |
Executing the following line as described in the README
fails with the following message
What is the correct path?
The text was updated successfully, but these errors were encountered: