Hi there. I've just downloaded the very latest MSYS2 on my Win7 machine and begun setting myself up. My problem is that Win7 has my account as "Rob Meades" and so MSYS2 wants my home directory to be "Rob Meades" and the spaces are causing a problem with the tools I'm trying to use.
How do I tell MSYS2 to give me a different user name?
I've tried setting a "HOME" environment variable in Win7 (set to "rob") and, though that prevents MSYS2 creating the "Rob Meades" home directory on startup, "cd ~" still tries to take me to "home/Rob Meades" so that's obviously not the whole story.
Does anyone have any advice before I start hacking around in profile?
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I hit a similar problem. It seems the home directory is picked from the /etc/passwd file. You can edit with vi and change where your home directory is located.
Tell me if it works in your case.
Regards,
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there. I've just downloaded the very latest MSYS2 on my Win7 machine and begun setting myself up. My problem is that Win7 has my account as "Rob Meades" and so MSYS2 wants my home directory to be "Rob Meades" and the spaces are causing a problem with the tools I'm trying to use.
How do I tell MSYS2 to give me a different user name?
I've tried setting a "HOME" environment variable in Win7 (set to "rob") and, though that prevents MSYS2 creating the "Rob Meades" home directory on startup, "cd ~" still tries to take me to "home/Rob Meades" so that's obviously not the whole story.
Does anyone have any advice before I start hacking around in profile?
Rob
Hi there,
I hit a similar problem. It seems the home directory is picked from the
/etc/passwd
file. You can edit withvi
and change where your home directory is located.Tell me if it works in your case.
Regards,
Matt
That did the trick! Many thanks.