summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2020-12-22 18:48:08 -0500
committerOwen Jacobson <owen@grimoire.ca>2020-12-22 21:04:24 -0500
commit9f7d1dd547930efeb80a46cc2abe1f0b5c32a889 (patch)
tree38de9b6d3d5ee0a3eb20633989dbdb36ae56c0fe /README.md
parent7f06bbc3769ce67fe9d3ab5160e0135dc634a842 (diff)
Rust rewrite.
The Python version was taking hundreds of millis for a small number of env vars on my machine - enough that starting a new shell was a bit itchy. The compiled version, even in debug mode, is ~10x faster.
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 5 insertions, 16 deletions
diff --git a/README.md b/README.md
index f5f4439..63f46b5 100644
--- a/README.md
+++ b/README.md
@@ -13,8 +13,9 @@ I've replaced all of that with a single line:
eval "$(envdir-helper)"
This program also supports setting non-exported shell variables, using the
-`--no-export` flag. This is useful for prompts and other shell configuration
-that should not be propagated through to subshells and other programs. This behaviour is the default if the env directory's name ends in `rc`:
+`--export false` flag. This is useful for prompts and other shell configuration
+that should not be propagated through to subshells and other programs. This
+behaviour is the default if the env directory's name ends in `rc`:
eval "$(envdir-helper .envdir.rc)"
@@ -37,18 +38,6 @@ This program does relatively little to manage this directly. One approach that h
## Installation
-Some familiarity with Python is assumed, here:
+Some familiarity with Rust is assumed, here:
-* Make a virtual environment;
-* `$VIRTUALENV/bin/pip install git+https://github.com/ojacobson/envdir-helper/#egg=envdir-helper`; and
-* Add its `bin` directory to `PATH` by other means, or invoke it by full path.
-
-## Development
-
-I use [pyenv] and [`direnv`] to manage development. The configuration in
-`.envrc` will automatically create a virtual Python environment using Pyenv (if
-possible) or your current Python version (otherwise), and load it, once the
-configuration is allowed. See the `direnv` documentation and the included
-`.envrc` script for details.
-
-[pyenv]: https://github.com/pyenv/pyenv
+* `cargo install --git https://github.com/ojacobson/envdir-helper`