cygwin.rst
changeset 2143 e5191a677ee5
parent 2107 6f77a1808a38
child 2164 d92444a3f0ae
--- a/cygwin.rst	Wed May 31 13:58:26 2017 +0300
+++ b/cygwin.rst	Wed May 31 16:58:21 2017 +0300
@@ -34,7 +34,15 @@
   set TMP=c:\tmp
   set TEMP=c:\tmp
 
-Also you need edit /etc/passwd to point to correct home path.
+Also you need edit ``/etc/passwd`` to point to correct home path.
+
+Starting from Cygwin ``/etc/nsswitch.conf`` settings used to define user home.
+By default it is ``/home/%U`` so it is better to create symlink::
+
+  $ ln -s /cygdrive/d/home /home/user
+
+https://stackoverflow.com/questions/1494658/how-can-i-change-my-cygwin-home-folder-after-installation
+  How can I change my Cygwin home folder after installation?
 
 Documentation
 =============