Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote WSL: Integrated terminal ignores $SHELL #73236

scy opened this issue May 3, 2019 · 1 comment


None yet
2 participants
Copy link

commented May 3, 2019

Issue Type: Bug

I'm using fish as my default shell in my WSL Debian installation:

sudo apt install fish && sudo chsh -s /usr/bin/fish $(whoami)

After doing this, relogin. You should now be running fish instead of bash. To check, run something like X=y echo. In bash, this will output a blank line. In fish, it will display an error. Also, you should have syntax highlighting while you type. Also, $SHELL should now be set to /usr/bin/fish.

Running code-insiders . will work fine, but when you start the integrated Terminal (Ctrl+`), you'll find yourself inside of bash, not fish. Running echo $SHELL will still tell you /usr/bin/fish though, but repeating the test command from above (X=y echo) will not return in an error, showing that you're indeed running bash.

VS Code version: Code - Insiders 1.34.0-insider (473af33, 2019-05-01T00:22:05.899Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 4.4.0-17763-Microsoft

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.89GB (5.64GB free)
Process Argv --folder-uri=vscode-remote://wsl+default/home/scy --remote=wsl+default
Screen Reader no
VM 0%
Item Value
Remote WSL
OS Linux x64 4.4.0-17763-Microsoft
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2801)
Memory (System) 15.89GB (5.64GB free)
VM 0%
Extensions (1)
Extension Author (truncated) Version
remote-wsl ms- 0.32.0

This comment has been minimized.

Copy link

commented May 3, 2019

@Tyriar Tyriar closed this May 3, 2019

@vscodebot vscodebot bot added the *duplicate label May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.