I'm not able to save the mintty windows options due to a not properly set home folder in company's computer.
I've edited etc/profile
, adding:
# Added by myself
# set-up home properly
HOME=/c/Users/myuser
HOMESHARE=/c/Users/myuser
HOMEDRIVE=C:
HOMEPATH=/Users/myuser/
and indeed all the variables are set properly in the bash environment:
$ echo $HOME $HOMEDRIVE$HOMEPATH $HOMESHARE
/c/Users/myuser C:/Users/myuser/ /c/Users/myuser
However, when right click the git-bash window to change options line color, fonts, etc and try to save, it says:
Could not save options to 'X:.minttyrc'. Permission denied.
We do have a company drive called X: and some windows variables are pointing to it. However no variable in the bash environment is point to X: as checked calling printenv
in git-bash.
How to I tell mintty which folder to use as home?
I'm using git-bash 2.19.2 for windows. The git-bash is running mintty 2.9.3.