tartansandal / conda-bash-completion

Bash completion support for conda
GNU General Public License v3.0
152 stars 7 forks source link

PowerShell autocomplete takes precedence over conda-bash-completion #23

Open Jackie-Li-0228 opened 3 months ago

Jackie-Li-0228 commented 3 months ago

Description:

I was trying to use the conda-bash-completion plugin and noticed that PowerShell's auto-completion feature seemed to have a higher priority. This caused the conda command completion to not work as expected.

Reproduce the steps:

  1. Installed the plugin following Method 1, which is to install the plugin via conda.
  2. Restart Powershell.
  3. Type conda <tab>.
  4. Display conda .\.android (automatically completes the subfolder names under the current path)

Expected result:

I want the auto-completion of the conda-bash-completion plugin to work properly, taking precedence over PowerShell's default completion.

Additional information:

tartansandal commented 3 months ago

Hi @Jackie-Li-0228 :wave:. Unfortunately, I don't work on Windows and don't have any experience with using or configuring Powershell, so I'm unlikely to be able to investigate this anytime soon. Happy to review any PRs though. :smile:

Jackie-Li-0228 commented 3 months ago

OK, I totally understand, but I don't have much experience with configuring Powershell. However, maybe AI can get me some insights. I will dig in this in my spare time. 😄