inshellisense icon indicating copy to clipboard operation
inshellisense copied to clipboard

IS works in Nushell great, until I enable oh-my-posh

Open mazansm opened this issue 11 months ago • 0 comments

Describe the bug First, let me just say IS is awesome! Nice job! It works for me in Windows Terminal with pwsh, pwsh preview, etc... including with oh-my-posh. In Nushell the pop up just never displays. Eventually I tried empty clean nu config files and it worked. Finally I concluded oh-my-posh was what I enabled the stopped it from displaying. I tried adding the line to enable oh-my-posh BEFORE Inshellisense at the beginning and VERY END of Nushells 2 config files: env.nu and config.nu as well as lot of other things and I just can't get it. Nushell did make a lot of config updates across there 2 most recent releases, but like I said, Inshellisense DOES WORK without oh-my-posh.

To Reproduce Steps to reproduce the behavior:

  1. Open Nushell with Inshellisense and oh-my-posh installed
  2. Ensure IS is initialized/active
  3. Type git, npm or other known is trigger
  4. Observe no is pop up shown

Expected behavior IS pop up shown like pwsh or other with IS and oh-my-posh installed and enabled.

Environment

  • OS: Windows 11 Pro 24H2
  • Output of is --version: 0.0.1-rc.20
  • Nodejs Version: 22.13.0
  • Shell: Nushell
  • Shell Version: 0.101.0

Additional context Thanks so much for any help you can provide. Let me know if you need any additional details from me. Thanks again!

mazansm avatar Jan 19 '25 02:01 mazansm