[Extension Host] fig: Error: Command failed: fig hook keyboard-focus-changed cursor 0
/bin/sh: fig: command not found
Hey, it seems the issue is related to the Fig extension. You need to remove it. If it’s not in the list of extensions, you can manually delete it from the extensions folder or use the solution from here:
opened 05:31AM - 20 Jan 23 UTC
closed 02:55PM - 07 Feb 24 UTC
terminal:VSCode
### Checks
- [X] I have searched [github.com/withfig/fig/issues](https://gith… ub.com/withfig/fig/issues?q=) and there are no duplicates of my issue
- [X] I have run `fig doctor` in the affected terminal session
- [X] I have run `fig restart` and replicated the issue again
### Operating system
macOS 11.2.3 (20D91)
### Expected behaviour
Although no behavior is expected, all extensions must run originally. However, as Fig goes down, all the extensions are also terminated.
### Actual behaviour
<img width="665" alt="Screen Shot 2023-01-20 at 2 29 16 PM" src="https://user-images.githubusercontent.com/59228569/213624047-09790e58-29a9-4758-9ec0-2dd599f9258d.png">
+ Command failed: fig hook keyboard-focus-changed vscode 19180
However, if 'fig' enters a command, it works fine.
### Steps to reproduce
Shortly after running Vscode, all extensions are terminated with a warning message **'Extension host terminated unexpected 3 times with the last 5 minutes.'**
### Environment
```yaml
fig-details:
- 2.12.0
hardware-info:
- model:
- model-id:
- chip-id: Apple M1
- cores: 8
- mem: 8.00 GB
os-info:
- macOS 11.2.3 (20D91)
environment:
- shell: /bin/zsh
- terminal: vscode
- cwd: /Users/jam/Desktop
- exe-path: /Users/jam/.fig/bin/fig
- install-method: unknown
- env-vars:
- FIGTERM_SESSION_ID: fe412bda-66f5-4ba2-9680-bef9f2ece6a7
- FIG_SET_PARENT_CHECK: 1
- FIG_TERM: 2.12.0
- PATH: /Users/jam/.bun/bin:/Users/jam/.bun/bin:/Users/jam/.gem/bin:/Users/jam/.nvm/versions/node/v16.18.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/Users/jam/.cargo/bin:/Users/jam/.fig/bin:/Users/jam/.local/bin:/Users/jam/.local/share/fig/plugins/git-flow
- SHELL: /bin/zsh
- TERM: xterm-256color
- ZDOTDIR: /Users/jam
- __CFBundleIdentifier: com.microsoft.VSCode
- FIG_PID: 5943
- FIG_SET_PARENT: fe412bda-66f5-4ba2-9680-bef9f2ece6a7
```