create-esp32-app
create-esp32-app copied to clipboard
macOS has moved to zsh
In esp-idf-template/.vscode/settings.json bash is used to configure settings, however Catalina has moved to zsh and so when setting the shell to zsh the error no such option init-file appears:
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.shellArgs.osx": ["--init-file", "/Vol...],
How does one fix this for zsh?
Update:
I ended up commenting out the above lines and adding the following to my .zshrc file:
esp() {
conda activate esp32
. /Volumes/Atom/esp32/esp-idf/export.sh
}
As I use conda to control my python environments, this solution works well.