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
In obsolete beta WSL Windows Build 16193, the problem was acknowledged by Microsoft.
Specifically, WSL was ignoring
~/.bash_aliases and stuffing the full Windows
%PATH% into Bash
Put the needed items e.g.
export PATH and
alias commands into
- used for interactive shells.
Virtually all WSL shells are interactive, since WSL closes when the last WSL Terminal closes (no Linux services yet like Cygwin has).