Skip to content
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

Conflict with TabCompletion #1

Open
Luk164 opened this issue Jul 20, 2021 · 2 comments
Open

Conflict with TabCompletion #1

Luk164 opened this issue Jul 20, 2021 · 2 comments

Comments

@Luk164
Copy link

Luk164 commented Jul 20, 2021

I am getting a confilict error:

The following commands are already available on this system:'TabExpansion'. This module 'CondaTabExpansion' may override the existing commands. If you still want to install this module 'CondaTabExpansion', use -AllowClobber parameter.

@M0gician
Copy link
Owner

M0gician commented Jul 21, 2021

I'm guessing you've also installed chocolatey and the catch is that chocolatey also modifies that TabExpansion function.
I'll suggest you modify the module loading order to make sure CondaTabExpansion is initialized before chocolatey in your powershell $PROFILE like the followings:

..........
Import-Module CondaTabExpansion
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" -Force
..........

@Luk164
Copy link
Author

Luk164 commented Jul 22, 2021

@M0gician Not good, getting the following error:

$script:conda = conda.bat # Just use the conda.bat in PATH ... The term 'conda.bat' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants