<commit_before>Cygwin configuration files
==========================

My Cygwin home (`~`) configuration files.

Deployment
----------

To deploy on a fresh Cygwin installation, execute the lines below.
**Be careful** though, some of your files will be **deleted**.
Basically, every file/directory **not** listed in ".gitignore" will be deleted.
Execute the lines below one-by-one and, **most importantly**, review the list
of files `git clean` will delete by adding the `--dry-run` parameter.

    git init
    curl --silent --show-error --location https://github.com/egor-tensin/cygwin-home/raw/master/.gitignore -o .gitignore
    git clean -d --force

    git remote add origin https://github.com/egor-tensin/cygwin-home.git
    git pull origin master
    git branch --set-upstream-to=origin/master master

The deployment should preferably take place right after you install Cygwin.

File permissions
----------------

`git` doesn't preserve file permissions.
After the deployment, anyone will be able to read any of the files in the
repository.
To adjust the permissions so that only you can read the files, `source`
".bashrc" (`bash` does this automatically) and execute:

    ( cd && tighten_repo_security )

This also makes sure the directories in the repository are accessible only by
yourself (including the ".git" directory).

The important thing to note is that the permissions are reset each time `git`
writes to a file.
It is thus necessary to execute the line above after each invokation of `git
pull`, `git checkout`, etc.

License
-------

Distributed under the MIT License.
See [.LICENSE.txt] for details.

[.LICENSE.txt]: .LICENSE.txt<commit_msg>README update<commit_after>Cygwin configuration files
==========================

Personal Cygwin environment.
The files are maintained in this repository and synced across different
machines using [config-links].

[config-links]: https://github.com/egor-tensin/config-links

Deployment
----------

Using [config-links]:

    > pwd
    /cygdrive/d/workspace/personal/cygwin-home

    > ../config-links/update.sh -d db.bin -s .
    ...

License
-------

Distributed under the MIT License.
See [LICENSE.txt] for details.

[LICENSE.txt]: .LICENSE.txt
{'fraction_non_alphanumeric': 0.13342379014020805, 'fraction_numerical': 0.0, 'mean_word_length': 3.551440329218107, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2508499', 'n_tokens_mistral': 628, 'n_tokens_neox': 603, 'n_words': 253}