Open lbmeng opened 2 years ago
我也遇到了这个问题,关键 /c/Users/\<UserID> 做home目录并不能使用ohmyfish,.bashrc也不起作用,只能用 /home/\<UserID> 。听你这么一说,通过设置环境变量可以暂时纠正这个bug。
The translator bot has detected that this issue body's language is not English, and has translated it automatically.
I also encountered this problem, the key /c/Users/\<UserID> is the home directory and cannot use ohmyfish, and .bashrc does not work, only /home/\<UserID> . Listening to you, this bug can be temporarily corrected by setting an environment variable.
Describe the problem:
MSYS2 environment $HOME is incorrectly pointed to /c/Users/\<UserID>, but it should be pointed to /home/\<UserID> This issue was previously filed as https://github.com/Eugeny/tabby/issues/6079, but it seemed to get partially fixed in 1.0.175.
1.0.175 seems to only fix the starting directory so that it points to /home/\<UserID>, but the $HOME environment variable still points to /c/Users/\<UserID>
To Reproduce:
Check the $HOME environment of the MSYS2. It points to /c/Users/\<UserID>.