inshellisense: Does not work with starship prompt

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:

  1. Configure inshellisense in your .zshrc file.
  2. Install and configure the Starship prompt in the same .zshrc file.
  3. Open a new terminal session.
  4. See that it does not work

Expected behavior Drop down auto suggestions

Environment

  • OS: macOS Sonoma
  • Output of 0.0.1-rc.15
  • Nodejs Version: v22.0.0
  • Shell: zsh
  • Shell Version: 5.9

Additional context Probably conflicts with the hooks used by the Starship prompt (e.g., precmd and preexec)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Thanks!

@akinomyoga it should fix it, but please feel free to give it a retry once I do the release. I wasn’t able to consistently replicate the behavior so I’m hopeful but not confident that it’s fixed

OK, then I’ll ask the users @superdinmc and @NireBryce about whether the issue is fixed in their environments. I’m just the author of ble.sh and not an Inshellisense user who experienced the issue. I received Issue https://github.com/akinomyoga/ble.sh/issues/464 in my project from @NireBryce so wanted to know the status.

It’s been months since I tried to use inshellisense on blesh but I will follow-up with the .bashrc ASAP.

There’s also starship configuration, I will also have it here.