活性酱习惯是用Win+R然后bash,
但是会跑到/mnt/c/Users/yume的目录里,
为了方便回家,在 .profile 里写了一句cd
最近开始用Shift+右键打开Linux终端,
发现又跑家去了,只好加上了判断:
if [ $PWD == '/mnt/c/Users/yume' ];then cd fi
活性酱习惯是用Win+R然后bash,
但是会跑到/mnt/c/Users/yume的目录里,
为了方便回家,在 .profile 里写了一句cd
最近开始用Shift+右键打开Linux终端,
发现又跑家去了,只好加上了判断:
if [ $PWD == '/mnt/c/Users/yume' ];then cd fi