I just installed bash.exe
on a machine running Windows 10, and it works great except I can't seem to get ~
to point to where I want it (as in cd ~
). It automatically points to C:
.
How can I change this to reference C:\Users\name
where all my commonly used files are located?
I've tried setting $HOME
to the address that I want (using export HOME='C:\Users\name'
), but that didn't work. echo ~
still returns C:
Any thoughts?
Installation Notes --
I simply downloaded bash.exe
and other bash-like commands from SourceForge and added the entire downloaded directory to my path.