microsoft / inshellisense

IDE style command line auto complete
MIT License
8.22k stars 180 forks source link

How to troubleshoot why there are no prompts when entering commands after inshellisense is started #120

Closed alanhe421 closed 4 months ago

alanhe421 commented 6 months ago

Is your feature request related to a problem? Please describe.

on my mac, after inshellisense is started,command completion is not show.

I have two Macs that aren't working, and you can see the details in the video.

my mac

Describe the solution you'd like

doc or cli command

Additional context Add any other context or screens

https://github.com/microsoft/inshellisense/assets/9245110/bbf331e7-d475-48cc-8f1f-9919b8566d19

cpendery commented 6 months ago

I'll add some troubleshooting documentation. Prompt detection is something I'm working on improving which is most likely your issue

alanhe421 commented 6 months ago

I'll add some troubleshooting documentation. Prompt detection is something I'm working on improving which is most likely your issue

Regarding my question, I found that changing the zsh theme from powerlevel10k/powerlevel9k solved the problem.

cpendery commented 6 months ago

I'll add some troubleshooting documentation. Prompt detection is something I'm working on improving which is most likely your issue

Regarding my question, I found that changing the zsh theme from powerlevel10k/powerlevel9k solved the problem.

Ah that makes sense, I've handled prompt detection for zsh when using $PS1, but I'll need to support more dynamic prompts like powerlevel10k.

ipenywis commented 6 months ago

@alanhg Did you do anything specific to change the theme. I went through and installed the powerlevel9k theme using brew and then updated the zshrc with ZSH_THEME="powerlevel9k/powerlevel9k" but it is still not working.

cpendery commented 4 months ago

Closing as duplicate of #174