Can I get (the new) bash on Windows 10 to load .profile
By default, this release of Ubuntu-on-windows loads the file named .bashrc
.
You can either put the script or add the below line to .bashrc
(and create .bashrc
if it is non-existent):
. ~/.profile
Note: If .bashrc
is sourced from .profile
, you may want to comment it out to prevent bash endlessly looping.