Setting CYGWIN via registry.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 03 Jan 2021 23:33:02 +0200
changeset 2488 b044a0017907
parent 2487 3554b388e7a2
child 2489 072c3ec3837c
Setting CYGWIN via registry.
cygwin.rst
--- a/cygwin.rst	Sun Jan 03 23:13:44 2021 +0200
+++ b/cygwin.rst	Sun Jan 03 23:33:02 2021 +0200
@@ -7,13 +7,13 @@
    :local:
 
 Installation
-===
+============
 
 http://cygwin.com/mirrors.html
   Official mirror list.
 
 Configuration
-===
+=============
 
 Run ``setup.exe``. Today you should prefer 64-bit flavor because it sould less BLODA. Add Cygwin
 ``/bin`` directory to your ``PATH`` env var::
@@ -42,9 +42,10 @@
 https://cygwin.com/cygwin-ug-net/using-cygwinenv.html
   The ``CYGWIN`` environment variable. Available options.
 
-Set ``HOME`` env var::
+The easiest way to install env var ``CYGWIN`` is via ``.reg`` file::
 
-  set HOME=c:\home
+  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
+  "CYGWIN"="noglob wincmdln"
 
 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?