I have a windows 10 operating system on which I have installed WSL2 Ubuntu 20.04 in it.
It is working fine, but I have some weird behaviour of bash i can't seem to be able to resolve.
If i open bash through start or from within file explorer, bash starts from the windows home directory (c/users/myname) and reads the .bashrc file within.
If i execute bash through command line, powershell or by typing it into my explorer adress bar, it opens through the WSL2 mount and reads the bash.bashrc and .bashrc of which the latter is in my ubuntu home directory.
I want ubuntu to start consistently within my windows environment when called upon from there. What files/configs do I change to be able to change the startup of bash.exe.
Thanks!