Make sure you can reproduce the issue with the latest version available
pip install milatools --upgrade
[milatools command e.g. mila code ...]
What command did you run?
mila init
Describe the bug
For windows, with some accounts, the $env:UserName used to create the path to the home directory does not match the actual home directory. See this. The current code here creates the home path as "/mnt/c/Users/Myriam" when it should be "/mnt/c/Users/Myria". To fix this, I just did a hack of:
Also, a separate thing, I just set up WSL, and in order to get the command to work that changed the permission of the ssh folder, I had to follow the steps here.
Desktop (please complete the following information):
Make sure you can reproduce the issue with the latest version available
What command did you run?
mila init
Describe the bug
For windows, with some accounts, the
$env:UserName
used to create the path to the home directory does not match the actual home directory. See this. The current code here creates the home path as"/mnt/c/Users/Myriam"
when it should be"/mnt/c/Users/Myria"
. To fix this, I just did a hack of:Also, a separate thing, I just set up WSL, and in order to get the command to work that changed the permission of the ssh folder, I had to follow the steps here.
Desktop (please complete the following information):