Note: This bug no longer exists in the Windows Store Ubuntu app–you should uninstall the deprecated WSL beta and install the Windows Store Ubuntu app
Starting at about Windows Build 16193, it was acknowledged by Microsoft that WSL was ignoring
~/.bash_aliases and stuffing the full Windows
%PATH% into Bash
The workaround I’ve used successfully is to put these needed items e.g.
export PATH and
alias commands into
~/.bash_profile is used for interactive shells, which is what virtually all WSL users are using it for, since WSL closes when the last WSL Terminal closes (no Linux services yet like Cygwin has).