changeset 2488:b044a0017907

Setting CYGWIN via registry.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 03 Jan 2021 23:33:02 +0200
parents 3554b388e7a2
children 072c3ec3837c
files cygwin.rst
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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?