Skip to content

Issues with fish shell (VSC-1864) #1780

@anthonyjclark

Description

@anthonyjclark

OS

MacOS

Operating System version

macOS 14.8.3

Visual Studio Code version

Version: 1.110.0-insider Commit: 7e5adbd392329afffaa38da9e47df976a05e2f2c

ESP-IDF version

5.5.3

Python version

3.12

Doctor command output

report.txt

Extension

esp_idf_vsc_ext.log

Description

Most functionality is broken (building, flashing, etc.). I think it is a small problem though.

When I click "View->Output->ESP-IDF", I am greeted by this:

~/.espressif/tools/activate_idf_v5.5.3.sh (line 14): Unsupported use of '='. In fish, please use 'set _EIM_BIN "$(command -v eim 2>/dev/null || true)"'.
_EIM_BIN="$(command -v eim 2>/dev/null || true)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
warning: Error while reading file /Users/ajcd2020/.espressif/tools/activate_idf_v5.5.3.sh

This message still appears when I tried to change "vscode-insiders://settings/idf.customTerminalExecutable" to "/bin/bash" (with and without setting "vscode-insiders://settings/idf.customTerminalExecutableArgs" as "-c").

I still get this message even after changing my system shell to bash with chsh -s.

It might also be causing this issue: when I open the example project, a notification will pop up with this message:compile_commands.json is missing. This may cause errors with code analysis extensions.

When I click the button (generate compile_commands.json) I get this message: Illegal argument: process

Debug Message

n/a

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

bug-reportBug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions