-
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
Why this tool doesn't support anaconda? #3
Comments
Hi @hongyi-zhao, In short, this completion code only supports the The The These are two separate commands with different code bases. They would need separate completion implementations. Of course this project could serve as a template for anyone wanting to write completion code for the |
Thanks for your notes. But, I also noticed that the current implementation of your code cannot do the sub-command' arg completions. Say, for the following:
It will do nothing for completions. In my mind, the completions should be trigged in any level for sub-commands. Any hints for this issue? Regards |
Try:
the Hope this helps. |
It cann't solve the problem with your suggestion:
Then I get the following: |
Damn. That is a bug I thought I had squashed 😞
|
Still failed:
ps. I use the follwong anaconda python with pyenv:
|
Thanks that. I might not be able to get back to that until tomorrow, however, I am very keen to figure out what is going wrong and help you out. |
Thanks a lot, I'm very grad to find the bug and let this tool more perfect, and convenient for users like me. |
Ah I thought that bug looked old. While tracking this down, I discovered that the new Until then, you can try to force the loading of the new improved code with:
Hope this helps. |
Thanks, I'll try it. |
To install the latest git version of this package, the following command is enough or not: conda install -c tartansandal conda-bash-completion
|
That should work. The same package is now available from conda-forge so the following will also work:
The long-term plan is to make one of the base packages, so at some point in the future, it will be installed by default. |
I've learned that the conda-forge is based on several continuous integration tools and can auto build the latest sources from the corresponding repository. But, whether the following two commands will always obtain the same version: $ conda install -c tartansandal conda-bash-completion What's the difference between the above two commands? From the manpage of conda install, it said that:
From the above description, I can easily understand that the conda-forge is a channel name. Regards |
You are 100% correct that 'tartansandal' is a channel name too. Individual users can host there own channels on Anaconda Cloud, e.g., https://anaconda.org/tartansandal. That was my initial attempt at distributing the code and learning how to write conda 'recipes'. Later, this was accepted into |
Also note that the conda developers have been made aware of the issue with the 4.8.0 release that your issue has brought to light (see )conda/conda#9421 (comment)). Thank you very much for taking the time to report it! A new release is being built, but it may take some time for it to surface. I don't really know how long that will be. |
Closing this issue since it will be resolved by the upcoming patch release of |
Hi,
I tried this tool, it seems it works smoothly with conda, while not works with anaconda.
Any hints?
The text was updated successfully, but these errors were encountered: