I had to change the HOME location for Cygwin by setting it to pick up the directory I set in /etc/passwd (following the solution from here). It seems to not be a problem for the majority of my configuration files. .bashrc and .vimrc are read as expected.
But it isn't picking up the configuration for my .minttyrc file. It loads up with the default colors. If I try to add a new setting through Windows, by right clicking on the title bar and selecting Options, it gives me an error:
Could not save options to '[old home directory]':
No such file or directory.
If I rebuild the old home directory and put the .minttyrc file there, it works fine. Is there some place I need to update the location for the .minttyrc separately?
homesubdirectory of my Cygwin install. I set up thedb_homeline in/etc/nsswitch.confas you suggested, and the other configuration files are mentioned are working properly. But it still isn't looking in the right place for.minttyrc. – Shaun Jul 17 '15 at 21:02-c ~/.minttyrcto your mintty startup shortcut ieC:\cygwin\bin\mintty.exe -c ~/.minttyrc -i /Cygwin-Terminal.ico -– DavidPostill Jul 17 '15 at 21:22-c FILEis Load specified config file – DavidPostill Jul 17 '15 at 21:23/etc/passwd, and it could no longer find the correct home directory even when specified in the/etc/nsswitch.conffile. – Shaun Jul 20 '15 at 14:21