microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.5k stars 29.38k forks source link

fish shell integration source error #234069

Open shyim opened 1 hour ago

shyim commented 1 hour ago

Does this issue occur when all extensions are disabled?: Yes/

> code-insiders --version
1.96.0-insider
0c9dd26823dc38dd59d6240e1b6698add43d942c
arm64

Steps to Reproduce:

  1. Install fish shell
  2. Open VSCode Terminal and see always an error
> . /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration.fish
.: Error encountered while sourcing file '/Applications/Visual':
.: No such file or directory

That file exists the path just needs escaping because of whitespace

shyim commented 1 hour ago
mv "/Applications/Visual Studio Code - Insiders.app" "/Applications/VSCode.app"

fixed it as there are not whitespaces anymore in path