I've just installed GIT on my work machine (Windows 7) connected to the domain at work. When I start the GIT bash it starts on "H:" instead of in my home folder. I think this could be a problem when I'm not connected to the domain since the .ssh folder is located on "H:" instead of my home folder. I have set HOME environment folder to point to c:\Users\MyName, but that doesn't help. My HOMEDRIVE environment variable points to "H:" and the HOMEPATH to "\", but I can't change those.
First question: Will there be an issue when I'm not connected to the domain and the .ssh folder is on a domain drive? Second question: How do I fix it? :)
Just have bash cd
to your home directory when you start it with like cd /home/dan
in .bashrc
.
I did this in cygwin once as it put my home directory in /bin/%SOMETHING%
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With