microsoft / inshellisense

IDE style command line auto complete
MIT License
8.24k stars 181 forks source link

Unsupported shell: '', supported shells: bash, powershell, pwsh, zsh, fish #39

Closed engureguo closed 8 months ago

engureguo commented 8 months ago

Describe the bug After installing, I meet this When I do this: image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Environment

Additional context Add any other context about the problem here.

korewaChino commented 8 months ago

Having the same issue on Linux. Confirmed reproducible

reisir commented 8 months ago

It expects you to run inshellisense --shell <shell> but I agree, it should use the current shell by default.

oosame commented 8 months ago

same on ubuntu, running

inshellisense -s (which fish)
Delta456 commented 8 months ago

If no argument is passed then it must print help so that the user knows what to use accordingly.

aliuq commented 8 months ago

If I typed inshellisense, hope to use the current shell

ngaini-n-able commented 8 months ago

Having the same issue on Mac Unsupported shell: '', supported shells: bash, pwsh, zsh, fish

cpendery commented 8 months ago

Having the same issue on Mac Unsupported shell: '', supported shells: bash, pwsh, zsh, fish

You should see this fixed in the next release 0.0.1-rc.4