Cygwin shell doesn't execute .bashrc

前端 未结 5 488
轮回少年
轮回少年 2020-12-10 02:41

After start the cygwin shell, it just locate in a wrong home dir:

xfire@codingme.com ~
$ pwd
/cygdrive/c/Users/xfire

But it used to be /hom

5条回答
  •  长情又很酷
    2020-12-10 03:18

    Some program add an "HOME" environment in windows registry and set the value to "C:\Users\xfire", that's why cygwin take that directory as the home. cygwin.com/faq-nochunks.html

提交回复
热议问题