microsoft / inshellisense

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

Command `__vsc_escape_value` not found when using inshellisense under zsh #136

Closed B4night closed 6 months ago

B4night commented 6 months ago

Describe the bug

  1. When I use is to activate inshellisense, the shell will start a new page and the fist line is zsh: __vsc_escape_value: command not found...
  2. After activating the environment, no matter what command I use, the error zsh: __vsc_escape_value: command not found... will always follow the output of the command
➜  ~ ls
Desktop  Documents  Downloads  Music  Pictures  Project  Public  snap  Software  Templates  Videos  Zotero
zsh: __vsc_escape_value: command not found...                                                                                             
➜  ~ cd ..
zsh: __vsc_escape_value: command not found...                                                                                           
➜  /home cd - 
~
zsh: __vsc_escape_value: command not found...                                                                                                                                            
➜  ~ ls
Desktop  Documents  Downloads  Music  Pictures  Project  Public  snap  Software  Templates  Videos  Zotero
zsh: __vsc_escape_value: command not found... 

To Reproduce Steps to reproduce the behavior:

  1. use command is
  2. type any command

Expected behavior Provide a patch to fix this or tutorial to enable this command

Environment

alanhe421 commented 6 months ago

app is Terminal or WebStorm?

B4night commented 6 months ago

app is Terminal or WebStorm?

Terminal, I am using konsole and the version is 23.08.3

jacquesg commented 6 months ago

Also happens with kitty, seeing a similar message

__is_update_cwd:1: command not found: __vsc_escape_value
cpendery commented 6 months ago

Once that fix in #137 is merged, you can rebuild from source via the following command.

git clone https://github.com/microsoft/inshellisense.git && cd inshellisense && npm install && npm run build && npm link && cd ..