This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
rustup command not found using WSL #570
Labels
wsl
Issue related to WSL - Windows Subsystem for Linux
output in vscode
wsl rustup
ends up with a command not found error, it seems wsl won't load~/.profile
using the aforementioned command.However,
wsl bash -ic "rustup"
works if rust path is set in.bashrc
.The wsl current behavior is confirmed by another user here:
https://www.reddit.com/r/bashonubuntuonwindows/comments/9tsrym/default_shell_is_zsh_running_wsl_some_command/
and by a wsl member:
microsoft/WSL#2816 (comment)
It seems
.profile
is always ignored and in order for wsl to parse.zhsrc
/.bashrc
you need commands likewsl bash -ic rustup
.The text was updated successfully, but these errors were encountered: