You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add /opt/homebrew/Caskroom/miniconda/base/bin/xonsh to /etc/shells
chsh -s /opt/homebrew/Caskroom/miniconda/base/bin/xonsh to change the login shell
reboot
open iterm2. the shell is /opt/homebrew/bin/xonsh, which shows that the login shell is changed.
open vscode. open integrated terminal. the terminal looks like a "xonsh", but actually it is /opt/homebrew/bin/xonsh instead of the login shell /opt/homebrew/Caskroom/miniconda/base/bin/xonsh
And some tries:
I try to chsh -s /bin/bash, reboot, and chsh -s /opt/homebrew/Caskroom/miniconda/base/bin/xonsh. no help.
I try to brew uninstall xonsh. Then I open vscode terminal. It exits quickly. But the second time I open vscode terminal, It works.
I try to remove /opt/homebrew/bin/xonsh from /etc/shells, reboot. It works.
It seems like vscode deeply relay on /etc/shells to determine which shell to start.
By the way, on MacOS, when I change the login shell, vscode must requires a reboot to notice that the login shell has been changed. This bothers me little because I can accept a reboot. But this time it is a real bug.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Darwin arm64 24.0.0
Modes:
Type: Bug
brew install xonsh
/opt/homebrew/bin/xonsh
to/etc/shells
pip install xonsh
/opt/homebrew/Caskroom/miniconda/base/bin/xonsh
to/etc/shells
chsh -s /opt/homebrew/Caskroom/miniconda/base/bin/xonsh
to change the login shell/opt/homebrew/bin/xonsh
, which shows that the login shell is changed./opt/homebrew/bin/xonsh
instead of the login shell/opt/homebrew/Caskroom/miniconda/base/bin/xonsh
And some tries:
chsh -s /bin/bash
, reboot, andchsh -s /opt/homebrew/Caskroom/miniconda/base/bin/xonsh
. no help.brew uninstall xonsh
. Then I open vscode terminal. It exits quickly. But the second time I open vscode terminal, It works./opt/homebrew/bin/xonsh
from/etc/shells
, reboot. It works.It seems like vscode deeply relay on /etc/shells to determine which shell to start.
By the way, on MacOS, when I change the login shell, vscode must requires a reboot to notice that the login shell has been changed. This bothers me little because I can accept a reboot. But this time it is a real bug.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Darwin arm64 24.0.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (28)
The text was updated successfully, but these errors were encountered: