<commit_before>direnv - Unclutter your .profile
================================

direnv is a small POSIX utility that works in combination with your shell (bash or zsh).
It allows you to have path-dependent environment variables, to load and unload them
when navigating trough your filesystem.

Usage
-----

Usually, I set an .envrc file in projects that have a bin/ or lib/ directory.

When navigating in the project's root direcory or it's children, direnv will
add the bin/ directory to my path and the lib/ directory to the target-language's libpath.
That way they are handily available, no need to set something by hand.

I also use direnv to set the GEM_HOME environment variable to make project-dependent gemsets.
The gemset moves with the project unlike in rvm. Feature request: the cache directory could
be set to $HOME/.gem/cache, it would really help.

Install
-------

1) Get the code

  git clone http://github.com/zimbatm/shell-env<commit_msg>Few spelling and readability tweaks<commit_after>direnv - Unclutter your .profile
================================

direnv is a small POSIX utility that works in combination with your shell (bash or zsh).
It allows you to have path-dependent environment variables, to load and unload them
when navigating through your filesystem.

Usage
-----

Usually, I set an .envrc file in projects that have a bin/ or lib/ directory.

When navigating a project's root directory (or subdirectories), direnv will
add the bin/ directory to my path and the lib/ directory to the target-language's libpath.
That way they are handily available, no need to set something by hand.

I also use direnv to set the GEM_HOME environment variable to make project-dependent gemsets.
The gemset moves with the project unlike in rvm. Feature request: the cache directory could
be set to $HOME/.gem/cache, it would really help.

Install
-------

1) Get the code

  git clone http://github.com/zimbatm/shell-env
{'fraction_non_alphanumeric': 0.0913312693498452, 'fraction_numerical': 0.0010319917440660474, 'mean_word_length': 4.036363636363636, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '846633', 'n_tokens_mistral': 519, 'n_tokens_neox': 502, 'n_words': 279}