Open TuomasAutio opened 4 weeks ago
This also happens to me, but in this case, It's ble.sh,
Without ble.sh:
With ble.sh:
Do you think it is related to the right prompt? How about the behavior without the right prompt?
Oh yeah, It started working again after I disabled right prompt
Then, I think inshellisense is confused by the existence of the right prompt. I searched in the repository for "right prompt", but nothing seems to be mentioned, so I think inshellisense doesn't just support shell settings with right prompts for now.
I added this original to handle right prompts, which I'd expect to get triggered here. I think there are outstanding issues with zsh that might be contributing this as well (outside of the right prompt issue the bash users are experiencing) https://github.com/microsoft/inshellisense/blob/1a309c8104ee92d5fff2e16f689db0372796a788/src/isterm/commandManager.ts#L242
Describe the bug When using the inshellisense plugin in conjunction with the Starship prompt in a Zsh shell, the inshellisense plugin fails to work as expected. Specifically, it does not give suggestions when starship is active
To Reproduce Steps to reproduce the behavior:
.zshrc
file..zshrc
file.Expected behavior Drop down auto suggestions
Environment
0.0.1-rc.15
v22.0.0
zsh
5.9
Additional context Probably conflicts with the hooks used by the Starship prompt (e.g., precmd and preexec)