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
Question/Proposal: How to remove inactive commands from shims #1085
Comments
By the way, this issue is partially related to ContinuumIO/anaconda-issues#994 even though I don't think installing |
there is a blacklist of anaconda executables that should not be turned into shims. Occasionally, anaconda adds more executables to it's |
Is there any document about that blacklist? I would like to know how to override that setting on my local system. |
There's some small explanation in We'd welcome a PR to expand on that and also to add whatever shims are causing your environment issues to the blacklist. |
#1358 I added this pull request to remove infocmp from the shim list. |
Pyenv shims now "fall through" to a system-wide command if the command is not present in the currently selected installation. |
I just arrived here and saw that there was a I found that version of miniconda, uninstalled it, re-shim and everything worked again! Thanks for your tips. |
@humitos This message is now only printed if you don't have it in any of the selected versions -- AND further on PATH. |
I have a problem to use OS's builtin
infocmp
command when I installedminiconda3-latest
with pyenv becauseminiconda3-latest
somehow has this fundamental command...I understand that sometimes it is better to tell users which env has a corresponding command but I usually feel this behavior is annoying. For example, I often check the command presence by
[[ -x {command} ]]
and it often passed even the command is not usable while the command wrapper script exists inshims
.So I would like to ask how can I remove command wrappers for commands exist in inactive envs. Or I would like to propose the way to do that.
The text was updated successfully, but these errors were encountered: