You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that the bash-completion script in installed to $CONDA_PREFIX/share/bash-completion/completions/git.
Should this script also be added to ${PREFIX}/etc/conda/activate.d/ so that it is automatically sourced when the environment is activated ?
I think that would be a great addition and I'd be happy to submit a PR for that.
That said, let's think through this a bit. Would it interfere with already active bash completion? Would this only gets run in the bash shell or would it run in other shells? If the latter, how can we protect against sourcing this in the wrong shell?
I see in
git-feedstock/recipe/build.sh
Lines 38 to 40 in 4b1de47
that the bash-completion script in installed to
$CONDA_PREFIX/share/bash-completion/completions/git
.Should this script also be added to
${PREFIX}/etc/conda/activate.d/
so that it is automatically sourced when the environment is activated ?I think that would be a great addition and I'd be happy to submit a PR for that.
Reference: https://docs.conda.io/projects/conda-build/en/latest/resources/activate-scripts.html
The text was updated successfully, but these errors were encountered: