microsoft / inshellisense

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

Breaks original prompt layout on Fish pure-fish/pure #107

Open edouard-lopez opened 7 months ago

edouard-lopez commented 7 months ago

Describe the bug

Hello, thank for the project! I'm the maintainer of the pure prompt for Fish used in the screencast below

My issue is that is breaks my prompt layout

To Reproduce

Steps to reproduce the behavior:

  1. Run it in a docker image:
    1. Run as root user in docker
    2. install npm and requirements
    3. insall inshellisense
    4. install pure-fish/pure prompt
  2. start fish shell and see how it look (2 lines, second one start with )
  3. start is and see the only one line
    docker run \
    --interactive \
    --tty \
    --rm \
    --user 0 \
    purefish/docker-fish:latest \
    'apk add --no-cache --virtual .gyp python3 make g++ npm; npm install -g @microsoft/inshellisense; su nemo -c "fisher install \'pure-fish/pure\'; fish"'

Expected behavior

Prompt in is should be identical to original one.

Environment OS Ubuntu 23.10 Alpine
Inshellisense --version 0.0.1-rc.5 0.0.1-rc.5
Nodejs Version v18.17.0 v20.8.1